# _*_ coding：UTF-8 _*_
# 开发人员：lgm
# 开发时间：2021/6/17 11:38
# 文件名称：login_method.PY
# 开发工具：PyCharm
import os,sys
from time import sleep
file_path = os.path.dirname(os.path.dirname(os.path.dirname(os.path.realpath(__name__))))
sys.path.append(file_path)
from random import randint
from selenium.webdriver.common.by import By
from selenium.webdriver.support.select import Select
from new_project.xiangmu_methd.base_driver import BaseDriver
from new_project import run_method
from new_project.xiangmu_methd.NO_1 import StartOj1
from new_project.xiangmu_methd.NO_2 import StartOj2
from new_project.xiangmu_methd.NO_3 import StartOj3
from new_project.xiangmu_methd.NO_4 import StartOj4
from new_project.xiangmu_methd.NO_5 import StartOj5
from new_project.xiangmu_methd.NO_6 import StartOj6
from new_project.xiangmu_methd.NO_7 import StartOj7
from new_project.xiangmu_methd.NO_8 import StartOj8
from new_project.xiangmu_methd.NO_9 import StartOj9
from new_project.xiangmu_methd.NO_10 import StartOj10
from new_project.xiangmu_methd.NO_11 import StartOj11
from new_project.xiangmu_methd.NO_12 import StartOj12
from new_project.xiangmu_methd.NO_13 import StartOj13
from new_project.xiangmu_methd.NO_14 import StartOj14



driver = BaseDriver().start_chrome()
driver.implicitly_wait(20)
driver.maximize_window()
print("")
print("自测，请输入要测试选项：")
print("")
print("1.注册+自测")
print("")
print("2.注册")
print("")
print("3.已有账号自评")
print("")
print("4.注册+自评+后台现场评价")
print("")
print("5.后台现场评价")
print("")
print("6.满意度评价填写")
print("")
nubs = str(input("请输入："))

if nubs == "1":
    run_method.register_pop(driver)
    st1 = StartOj1(driver).diyixiang()[0]
    st2 = StartOj2(driver).dierxiang()[0]
    print("自测合计：", st1 + st2)
    st3 = StartOj3(driver).disanxiang()[0]
    print("自测合计：", st1 + st2 + st3)
    st4 = StartOj4(driver).disixiang()[0]
    print("自测合计：", st1 + st2 + st3 + st4)
    st5 = StartOj5(driver).diwuxiang()[0]
    print("自测合计：", st1 + st2 + st3 + st4 + st5)
    st6 = StartOj6(driver).diliuxiang()[0]
    print("自测合计：", st1 + st2 + st3 + st4 + st5 + st6)
    st7 = StartOj7(driver).diqixiang()[0]
    print("自测合计：", st1 + st2 + st3 + st4 + st5 + st6 + st7)
    st8 = StartOj8(driver).dibaxiang()[0]
    print("自测合计：", st1 + st2 + st3 + st4 + st5 + st6 + st7 + st8)
    st9 = StartOj9(driver).dijiuxiang()[0]
    print("自测合计：", st1 + st2 + st3 + st4 + st5 + st6 + st7 + st8 + st9)
    st10 = StartOj10(driver).dishixiang()[0]
    print("自测合计：", st1 + st2 + st3 + st4 + st5 + st6 + st7 + st8 + st9 + st10)
    st11 = StartOj11(driver).dishiyixiang()[0]
    print("自测合计：", st1 + st2 + st3 + st4 + st5 + st6 + st7 + st8 + st9 + st10 + st11)
    st12 = StartOj12(driver).dishierxiang()[0]
    print("自测合计：", st1 + st2 + st3 + st4 + st5 + st6 + st7 + st8 + st9 + st10 + st11 + st12)
    st13 = StartOj13(driver).dishisanxiang()[0]
    print("自测合计：", st1 + st2 + st3 + st4 + st5 + st6 + st7 + st8 + st9 + st10 + st11 + st12 + st13)
    st14 = StartOj14(driver).dishisixiang()[0]
    sum = st1 + st2 + st3 + st4 + st5 + st6 + st7 + st8 + st9 + st10 + st11 + st12 + st13 + st14
    print("自测合计最终得分：", sum)

elif nubs == "2":
    run_method.register_pop(driver)

elif nubs == "3":
    usrename = str(input("请输入用户名："))
    passwd = str(input("请输入密码："))
    driver.find_element(By.NAME, "unitcode").send_keys(usrename)
    driver.implicitly_wait(20)
    driver.find_element(By.NAME, "pwd").send_keys(passwd)
    driver.implicitly_wait(20)
    driver.find_element(By.XPATH, "/html/body/div[2]/form/input").click()
    driver.implicitly_wait(20)
    driver.find_element(By.XPATH, "/html/body/div[2]/div[3]/ul/li[3]/p").click()
    driver.implicitly_wait(20)
    driver.find_element(By.XPATH, "/html/body/div[2]/input").click()
    driver.implicitly_wait(20)
    sleep(1)
    #driver.find_element(By.XPATH,"/html/body/div[2]/div[3]/div/ul[1]/li[1]").click()
    st1 = StartOj1(driver).diyixiang()[0]
    st2 = StartOj2(driver).dierxiang()[0]
    print("自测合计：", st1 + st2)
    st3 = StartOj3(driver).disanxiang()[0]
    print("自测合计：", st1 + st2 + st3)
    st4 = StartOj4(driver).disixiang()[0]
    print("自测合计：", st1 + st2 + st3 + st4)
    st5 = StartOj5(driver).diwuxiang()[0]
    print("自测合计：", st1 + st2 + st3 + st4 + st5)
    st6 = StartOj6(driver).diliuxiang()[0]
    print("自测合计：", st1 + st2 + st3 + st4 + st5 + st6)
    st7 = StartOj7(driver).diqixiang()[0]
    print("自测合计：", st1 + st2 + st3 + st4 + st5 + st6 + st7)
    st8 = StartOj8(driver).dibaxiang()[0]
    print("自测合计：", st1 + st2 + st3 + st4 + st5 + st6 + st7 + st8)
    st9 = StartOj9(driver).dijiuxiang()[0]
    print("自测合计：", st1 + st2 + st3 + st4 + st5 + st6 + st7 + st8 + st9)
    st10 = StartOj10(driver).dishixiang()[0]
    print("自测合计：", st1 + st2 + st3 + st4 + st5 + st6 + st7 + st8 + st9 + st10)
    st11 = StartOj11(driver).dishiyixiang()[0]
    print("自测合计：", st1 + st2 + st3 + st4 + st5 + st6 + st7 + st8 + st9 + st10 + st11)
    st12 = StartOj12(driver).dishierxiang()[0]
    print("自测合计：", st1 + st2 + st3 + st4 + st5 + st6 + st7 + st8 + st9 + st10 + st11 + st12)
    st13 = StartOj13(driver).dishisanxiang()[0]
    print("自测合计：", st1 + st2 + st3 + st4 + st5 + st6 + st7 + st8 + st9 + st10 + st11 + st12 + st13)
    st14 = StartOj14(driver).dishisixiang()[0]
    sum = st1 + st2 + st3 + st4 + st5 + st6 + st7 + st8 + st9 + st10 + st11 + st12 + st13 + st14
    print("自测合计最终得分：", sum)

elif nubs == "4":
    jigou_id = run_method.register_pop(driver)
    d1 = StartOj1(driver).diyixiang()
    st1 = d1[0]
    d2 = StartOj2(driver).dierxiang()
    st2 = d2[0]
    print("自测合计：", st1 + st2)
    d3 = StartOj3(driver).disanxiang()
    st3 = d3[0]
    print("自测合计：", st1 + st2 + st3)
    d4 = StartOj4(driver).disixiang()
    st4 = d4[0]
    print("自测合计：", st1 + st2 + st3 + st4)
    d5 = StartOj5(driver).diwuxiang()
    st5 = d5[0]
    print("自测合计：", st1 + st2 + st3 + st4 + st5)
    d6 = StartOj6(driver).diliuxiang()
    st6 = d6[0]
    print("自测合计：", st1 + st2 + st3 + st4 + st5 + st6)
    d7 = StartOj7(driver).diqixiang()
    st7 = d7[0]
    print("自测合计：", st1 + st2 + st3 + st4 + st5 + st6 + st7)
    d8 = StartOj8(driver).dibaxiang()
    st8 = d8[0]
    print("自测合计：", st1 + st2 + st3 + st4 + st5 + st6 + st7 + st8)
    d9 = StartOj9(driver).dijiuxiang()
    st9 = d9[0]
    print("自测合计：", st1 + st2 + st3 + st4 + st5 + st6 + st7 + st8 + st9)
    d10 = StartOj10(driver).dishixiang()
    st10 = d10[0]
    print("自测合计：", st1 + st2 + st3 + st4 + st5 + st6 + st7 + st8 + st9 + st10)
    d11 = StartOj11(driver).dishiyixiang()
    st11 = d11[0]
    print("自测合计：", st1 + st2 + st3 + st4 + st5 + st6 + st7 + st8 + st9 + st10 + st11)
    d12 = StartOj12(driver).dishierxiang()
    st12 = d12[0]
    print("自测合计：", st1 + st2 + st3 + st4 + st5 + st6 + st7 + st8 + st9 + st10 + st11 + st12)
    d13 = StartOj13(driver).dishisanxiang()
    st13 = d13[0]
    print("自测合计：", st1 + st2 + st3 + st4 + st5 + st6 + st7 + st8 + st9 + st10 + st11 + st12 + st13)
    d14 = StartOj14(driver).dishisixiang()
    st14 = d14[0]
    sum = st1 + st2 + st3 + st4 + st5 + st6 + st7 + st8 + st9 + st10 + st11 + st12 + st13 + st14
    print("自测合计最终得分：", sum)
    sleep(2)
    driver.get("http://192.168.1.242:8034/admin/manage/login")
    username = str(input("请输入账号："))
    passwd = str(input("请输入密码："))
    unit_code = str(input("请输入机构编号："))
    driver.implicitly_wait(20)
    driver.find_element_by_name("username").send_keys(username)
    driver.implicitly_wait(20)
    driver.find_element_by_name("password").send_keys(passwd)
    driver.implicitly_wait(20)
    driver.find_element_by_xpath("/html/body/form/div/div[1]/div[2]/div[5]/button").click()
    sleep(2)
    driver.find_element_by_xpath("/html/body/div/div/div[2]/div/ul/li[6]/a").click()
    sleep(2)
    right_ifame = driver.find_element_by_xpath("/html/body/div/div/div[4]/div[2]/iframe")
    driver.switch_to.frame(right_ifame)
    print("现场审核框架跳入成功")
    sleep(2)
    driver.find_element_by_name("loginname").send_keys(unit_code)
    driver.implicitly_wait(29)
    driver.find_element_by_xpath("/html/body/div[1]/div/div[1]/div/div[6]/button/i").click()
    sleep(2)
    driver.find_element_by_xpath(
        "/html/body/div[1]/div/div[2]/div/div[1]/div[3]/div[2]/table/tbody/tr/td/div/a[2]").click()
    sleep(2)
    xuanxiang_iframe = driver.find_element_by_xpath("/html/body/div[4]/div[2]/iframe")
    driver.switch_to.frame(xuanxiang_iframe)
    sleep(2)
    "第一项"
    t1_1_sum = 0
    t1_2_sum = 0
    t1_3_sum = 0
    t1_1_list1 = []
    t1_2_list1 = []
    t1_3_list1 = []
    t1_1_d_list = []
    t1_2_d_list = []
    t1_3_d_list = []
    Select(driver.find_element_by_name("lb")).select_by_value("0")
    sleep(1)
    for i in range(4):
        # t1_nub = randint(1, 6)
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t1_1_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t1_1_list1.append("0")
        elif ziping_nub == 1:
            t1_1_list1.append("1")
        elif ziping_nub == 2:
            t1_1_list1.append("2")
        elif ziping_nub == 3:
            t1_1_list1.append("3")
        elif ziping_nub == 4:
            t1_1_list1.append("4")
        elif ziping_nub == 5:
            t1_1_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("0-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t1_1_list1:
        t1_1_sum += int(j)
    pingjunfen = float(t1_1_sum) / float(20)
    result_xishu1_1 = pingjunfen * 0.2271

    zp_list = d1[1]
    if zp_list == t1_1_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("1.1各项分数为：", t1_1_list1)
    print("1.1机构自评显示分数：", t1_1_d_list)
    print("1.1各项分数总和：", t1_1_sum)

    "第一项第二小节"
    for i in range(7):
        sleep(1)
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t1_2_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t1_2_list1.append("0")
        elif ziping_nub == 1:
            t1_2_list1.append("1")
        elif ziping_nub == 2:
            t1_2_list1.append("2")
        elif ziping_nub == 3:
            t1_2_list1.append("3")
        elif ziping_nub == 4:
            t1_2_list1.append("4")
        elif ziping_nub == 5:
            t1_2_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("1-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t1_2_list1:
        t1_2_sum += int(j)

    pingjunfen = float(t1_2_sum) / float(35)
    result_xishu1_2 = pingjunfen * 0.3467

    zp_list = d1[2]
    if zp_list == t1_2_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("1.2各项分数为：", t1_2_list1)
    print("1.2机构自评显示分数：", t1_2_d_list)
    print("1.2各项分数总和", t1_2_sum)

    "第一项第三小节"
    for i in range(8):
        sleep(1)
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t1_3_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t1_3_list1.append("0")
        elif ziping_nub == 1:
            t1_3_list1.append("1")
        elif ziping_nub == 2:
            t1_3_list1.append("2")
        elif ziping_nub == 3:
            t1_3_list1.append("3")
        elif ziping_nub == 4:
            t1_3_list1.append("4")
        elif ziping_nub == 5:
            t1_3_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("2-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t1_3_list1:
        t1_3_sum += int(j)

    pingjunfen = float(t1_3_sum) / float(40)
    result_xishu1_3 = pingjunfen * 0.4261

    zp_list = d1[3]
    if zp_list == t1_3_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("1.3各项分数为：", t1_3_list1)
    print("1.3机构自评显示分数：", t1_3_d_list)
    print("1.3各项分数总和", t1_3_sum)

    t1_all_sum = int(round((result_xishu1_1 + result_xishu1_2 + result_xishu1_3) * 150, 0))
    print("第一项总得分：", t1_all_sum)

    driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[3]/div/button[1]").click()
    sleep(1)
    driver.switch_to.alert.accept()
    sleep(1)
    js = "window.scrollTo(0,0);"
    driver.execute_script(js)
    sleep(1)

    """
        第二项

        """
    t2_1_sum = 0
    t2_2_sum = 0
    t2_3_sum = 0
    t2_4_sum = 0
    t2_5_sum = 0

    t2_1_list1 = []
    t2_2_list1 = []
    t2_3_list1 = []
    t2_4_list1 = []
    t2_5_list1 = []

    t2_1_d_list = []
    t2_2_d_list = []
    t2_3_d_list = []
    t2_4_d_list = []
    t2_5_d_list = []

    "第二项第一小节"
    Select(driver.find_element_by_name("lb")).select_by_value("1")
    sleep(1)
    for i in range(3):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t2_1_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t2_1_list1.append("0")
        elif ziping_nub == 1:
            t2_1_list1.append("1")
        elif ziping_nub == 2:
            t2_1_list1.append("2")
        elif ziping_nub == 3:
            t2_1_list1.append("3")
        elif ziping_nub == 4:
            t2_1_list1.append("4")
        elif ziping_nub == 5:
            t2_1_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("0-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")
    for j in t2_1_list1:
        t2_1_sum += int(j)

    pingjunfen = float(t2_1_sum) / float(15)
    result_xishu2_1 = pingjunfen * 0.1927

    zp_list = d2[1]
    if zp_list == t2_1_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")

    print("2.1各项分数为：", t2_1_list1)
    print("2.1机构自评显示分数：", t2_1_d_list)
    print("2.1各项分数总和：", t2_1_sum)

    "第二项第二小节"
    for i in range(3):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t2_2_d_list.append(ziping_nub)

        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t2_2_list1.append("0")
        elif ziping_nub == 1:
            t2_2_list1.append("1")
        elif ziping_nub == 2:
            t2_2_list1.append("2")
        elif ziping_nub == 3:
            t2_2_list1.append("3")
        elif ziping_nub == 4:
            t2_2_list1.append("4")
        elif ziping_nub == 5:
            t2_2_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("1-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t2_2_list1:
        t2_2_sum += int(j)

    pingjunfen = float(t2_2_sum) / float(15)
    result_xishu2_2 = pingjunfen * 0.205

    zp_list = d2[2]
    if zp_list == t2_2_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("2.2各项分数为：", t2_2_list1)
    print("2.2机构自评显示分数：", t2_2_d_list)
    print("2.2各项分数总和", t2_2_sum)
    "第二项第三小节"

    for i in range(4):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t2_3_d_list.append(ziping_nub)

        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t2_3_list1.append("0")
        elif ziping_nub == 1:
            t2_3_list1.append("1")
        elif ziping_nub == 2:
            t2_3_list1.append("2")
        elif ziping_nub == 3:
            t2_3_list1.append("3")
        elif ziping_nub == 4:
            t2_3_list1.append("4")
        elif ziping_nub == 5:
            t2_3_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("2-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t2_3_list1:
        t2_3_sum += int(j)

    pingjunfen = float(t2_3_sum) / float(20)
    result_xishu2_3 = pingjunfen * 0.1955

    zp_list = d2[3]
    if zp_list == t2_3_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("2.3各项分数为：", t2_3_list1)
    print("2.3机构自评显示分数：", t2_3_d_list)
    print("2.3各项分数总和", t2_3_sum)

    "第二项第四小节"
    for i in range(2):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t2_4_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t2_4_list1.append("0")
        elif ziping_nub == 1:
            t2_4_list1.append("1")
        elif ziping_nub == 2:
            t2_4_list1.append("2")
        elif ziping_nub == 3:
            t2_4_list1.append("3")
        elif ziping_nub == 4:
            t2_4_list1.append("4")
        elif ziping_nub == 5:
            t2_4_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("3-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t2_4_list1:
        t2_4_sum += int(j)

    pingjunfen = float(t2_4_sum) / float(10)
    result_xishu2_4 = pingjunfen * 0.164

    zp_list = d2[4]
    if zp_list == t2_4_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("2.4各项分数为：", t2_4_list1)
    print("2.4机构自评显示分数：", t2_4_d_list)
    print("2.4各项分数总和", t2_4_sum)

    "第二项第五小节"
    for i in range(3):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[5]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t2_4_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[5]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t2_5_list1.append("0")
        elif ziping_nub == 1:
            t2_5_list1.append("1")
        elif ziping_nub == 2:
            t2_5_list1.append("2")
        elif ziping_nub == 3:
            t2_5_list1.append("3")
        elif ziping_nub == 4:
            t2_5_list1.append("4")
        elif ziping_nub == 5:
            t2_5_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[5]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("4-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t2_5_list1:
        t2_5_sum += int(j)

    pingjunfen = float(t2_5_sum) / float(15)
    result_xishu2_5 = pingjunfen * 0.2428

    zp_list = d2[5]
    if zp_list == t2_5_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("2.5各项分数为：", t2_5_list1)
    print("2.5机构自评显示分数：", t2_5_d_list)
    print("2.5各项分数总和", t2_5_sum)

    t2_all_sum = int(
        round((result_xishu2_1 + result_xishu2_2 + result_xishu2_3 + result_xishu2_4 + result_xishu2_5) * 150, 0))
    print("第二项总得分：", t2_all_sum)
    driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[3]/div/button[1]").click()
    sleep(1)
    driver.switch_to.alert.accept()
    sleep(1)
    js = "window.scrollTo(0,0);"
    driver.execute_script(js)
    sleep(1)

    """
        第三项

        """
    t3_1_sum = 0
    t3_2_sum = 0
    t3_3_sum = 0
    t3_4_sum = 0
    t3_5_sum = 0
    t3_6_sum = 0
    t3_7_sum = 0
    t3_8_sum = 0
    t3_9_sum = 0
    t3_10_sum = 0
    t3_11_sum = 0
    t3_12_sum = 0
    t3_13_sum = 0
    t3_14_sum = 0

    t3_1_d_list = []
    t3_2_d_list = []
    t3_3_d_list = []
    t3_4_d_list = []
    t3_5_d_list = []
    t3_6_d_list = []
    t3_7_d_list = []
    t3_8_d_list = []
    t3_9_d_list = []
    t3_10_d_list = []
    t3_11_d_list = []
    t3_12_d_list = []
    t3_13_d_list = []
    t3_14_d_list = []

    t3_1_list1 = []
    t3_2_list1 = []
    t3_3_list1 = []
    t3_4_list1 = []
    t3_5_list1 = []
    t3_6_list1 = []
    t3_7_list1 = []
    t3_8_list1 = []
    t3_9_list1 = []
    t3_10_list1 = []
    t3_11_list1 = []
    t3_12_list1 = []
    t3_13_list1 = []
    t3_14_list1 = []
    "第三项第一小节"
    Select(driver.find_element_by_name("lb")).select_by_value("2")
    sleep(1)
    for i in range(3):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t3_1_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t3_1_list1.append("0")
        elif ziping_nub == 1:
            t3_1_list1.append("1")
        elif ziping_nub == 2:
            t3_1_list1.append("2")
        elif ziping_nub == 3:
            t3_1_list1.append("3")
        elif ziping_nub == 4:
            t3_1_list1.append("4")
        elif ziping_nub == 5:
            t3_1_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("0-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")
    for j in t3_1_list1:
        t3_1_sum += int(j)

    pingjunfen = float(t3_1_sum) / float(15)
    result_xishu3_1 = pingjunfen * 0.068

    zp_list = d3[1]
    if zp_list == t3_1_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("3.1各项分数为：", t3_1_list1)
    print("3.1机构自评显示分数：", t3_1_d_list)
    print("3.1各项分数总和：", t3_1_sum)

    "第三项第二小节"
    for i in range(6):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t3_2_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t3_2_list1.append("0")
        elif ziping_nub == 1:
            t3_2_list1.append("1")
        elif ziping_nub == 2:
            t3_2_list1.append("2")
        elif ziping_nub == 3:
            t3_2_list1.append("3")
        elif ziping_nub == 4:
            t3_2_list1.append("4")
        elif ziping_nub == 5:
            t3_2_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("1-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t3_2_list1:
        t3_2_sum += int(j)

    pingjunfen = float(t3_2_sum) / float(30)
    result_xishu3_2 = pingjunfen * 0.0635
    zp_list = d3[2]
    if zp_list == t3_2_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("3.2各项分数为：", t3_2_list1)
    print("3.2机构自评显示分数：", t3_2_d_list)
    print("3.2各项分数总和", t3_2_sum)

    "第三项第三小节"
    for i in range(4):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t3_3_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t3_3_list1.append("0")
        elif ziping_nub == 1:
            t3_3_list1.append("1")
        elif ziping_nub == 2:
            t3_3_list1.append("2")
        elif ziping_nub == 3:
            t3_3_list1.append("3")
        elif ziping_nub == 4:
            t3_3_list1.append("4")
        elif ziping_nub == 5:
            t3_3_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("2-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t3_3_list1:
        t3_3_sum += int(j)

    pingjunfen = float(t3_3_sum) / float(20)
    result_xishu3_3 = pingjunfen * 0.044

    zp_list = d3[3]
    if zp_list == t3_3_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("3.3各项分数为：", t3_3_list1)
    print("3.3机构自评显示分数：", t3_3_d_list)
    print("3.3各项分数总和", t3_3_sum)

    "第三项第四小节"
    for i in range(4):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t3_4_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t3_4_list1.append("0")
        elif ziping_nub == 1:
            t3_4_list1.append("1")
        elif ziping_nub == 2:
            t3_4_list1.append("2")
        elif ziping_nub == 3:
            t3_4_list1.append("3")
        elif ziping_nub == 4:
            t3_4_list1.append("4")
        elif ziping_nub == 5:
            t3_4_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("3-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t3_4_list1:
        t3_4_sum += int(j)

    pingjunfen = float(t3_4_sum) / float(20)
    result_xishu3_4 = pingjunfen * 0.05

    zp_list = d3[4]
    if zp_list == t3_4_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("3.4各项分数为：", t3_4_list1)
    print("3.4机构自评显示分数：", t3_4_d_list)
    print("3.4各项分数总和", t3_4_sum)

    "第三项第五小节"
    for i in range(5):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[5]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t3_5_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[5]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t3_5_list1.append("0")
        elif ziping_nub == 1:
            t3_5_list1.append("1")
        elif ziping_nub == 2:
            t3_5_list1.append("2")
        elif ziping_nub == 3:
            t3_5_list1.append("3")
        elif ziping_nub == 4:
            t3_5_list1.append("4")
        elif ziping_nub == 5:
            t3_5_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[5]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("4-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t3_5_list1:
        t3_5_sum += int(j)

    pingjunfen = float(t3_5_sum) / float(25)
    result_xishu3_5 = pingjunfen * 0.0608

    zp_list = d3[5]
    if zp_list == t3_5_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("3.5各项分数为：", t3_5_list1)
    print("3.5机构自评显示分数：", t3_5_d_list)
    print("3.5各项分数总和", t3_5_sum)

    "第三项第六小节"
    for i in range(5):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[6]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t3_6_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[6]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t3_6_list1.append("0")
        elif ziping_nub == 1:
            t3_6_list1.append("1")
        elif ziping_nub == 2:
            t3_6_list1.append("2")
        elif ziping_nub == 3:
            t3_6_list1.append("3")
        elif ziping_nub == 4:
            t3_6_list1.append("4")
        elif ziping_nub == 5:
            t3_6_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[6]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("5-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t3_6_list1:
        t3_6_sum += int(j)

    pingjunfen = float(t3_6_sum) / float(25)
    result_xishu3_6 = pingjunfen * 0.0784

    zp_list = d3[6]
    if zp_list == t3_6_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("3.6各项分数为：", t3_6_list1)
    print("3.6机构自评显示分数：", t3_6_d_list)
    print("3.6各项分数总和", t3_6_sum)

    "第三项第七小节"
    for i in range(5):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[7]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t3_7_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[7]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t3_7_list1.append("0")
        elif ziping_nub == 1:
            t3_7_list1.append("1")
        elif ziping_nub == 2:
            t3_7_list1.append("2")
        elif ziping_nub == 3:
            t3_7_list1.append("3")
        elif ziping_nub == 4:
            t3_7_list1.append("4")
        elif ziping_nub == 5:
            t3_7_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[7]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("6-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t3_7_list1:
        t3_7_sum += int(j)

    pingjunfen = float(t3_7_sum) / float(25)
    result_xishu3_7 = pingjunfen * 0.0519

    zp_list = d3[7]
    if zp_list == t3_7_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("3.7各项分数为：", t3_7_list1)
    print("3.7机构自评显示分数：", t3_7_d_list)
    print("3.7各项分数总和", t3_7_sum)

    "第三项第八小节"
    for i in range(8):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[8]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t3_8_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[8]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t3_8_list1.append("0")
        elif ziping_nub == 1:
            t3_8_list1.append("1")
        elif ziping_nub == 2:
            t3_8_list1.append("2")
        elif ziping_nub == 3:
            t3_8_list1.append("3")
        elif ziping_nub == 4:
            t3_8_list1.append("4")
        elif ziping_nub == 5:
            t3_8_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[8]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("7-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t3_8_list1:
        t3_8_sum += int(j)

    pingjunfen = float(t3_8_sum) / float(40)
    result_xishu3_8 = pingjunfen * 0.0917

    zp_list = d3[8]
    if zp_list == t3_8_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("3.8各项分数为：", t3_8_list1)
    print("3.8机构自评显示分数：", t3_8_d_list)
    print("3.8各项分数总和", t3_8_sum)

    "第三项第九小节"
    for i in range(7):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[9]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t3_9_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[9]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t3_9_list1.append("0")
        elif ziping_nub == 1:
            t3_9_list1.append("1")
        elif ziping_nub == 2:
            t3_9_list1.append("2")
        elif ziping_nub == 3:
            t3_9_list1.append("3")
        elif ziping_nub == 4:
            t3_9_list1.append("4")
        elif ziping_nub == 5:
            t3_9_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[9]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("8-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t3_9_list1:
        t3_9_sum += int(j)

    pingjunfen = float(t3_9_sum) / float(35)
    result_xishu3_9 = pingjunfen * 0.0781
    zp_list = d3[9]
    if zp_list == t3_9_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("3.9各项分数为：", t3_9_list1)
    print("3.9机构自评显示分数：", t3_9_d_list)
    print("3.9各项分数总和", t3_9_sum)

    "第三项第十小节"
    for i in range(6):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[10]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t3_10_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[10]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t3_10_list1.append("0")
        elif ziping_nub == 1:
            t3_10_list1.append("1")
        elif ziping_nub == 2:
            t3_10_list1.append("2")
        elif ziping_nub == 3:
            t3_10_list1.append("3")
        elif ziping_nub == 4:
            t3_10_list1.append("4")
        elif ziping_nub == 5:
            t3_10_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[10]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("9-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t3_10_list1:
        t3_10_sum += int(j)

    pingjunfen = float(t3_10_sum) / float(30)
    result_xishu3_10 = pingjunfen * 0.1028

    zp_list = d3[10]
    if zp_list == t3_10_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("3.10各项分数为：", t3_10_list1)
    print("3.10机构自评显示分数：", t3_10_d_list)
    print("3.10各项分数总和", t3_10_sum)

    "第三项第十一小节"
    for i in range(7):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[11]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t3_11_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[11]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t3_11_list1.append("0")
        elif ziping_nub == 1:
            t3_11_list1.append("1")
        elif ziping_nub == 2:
            t3_11_list1.append("2")
        elif ziping_nub == 3:
            t3_11_list1.append("3")
        elif ziping_nub == 4:
            t3_11_list1.append("4")
        elif ziping_nub == 5:
            t3_11_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[11]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("10-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t3_11_list1:
        t3_11_sum += int(j)

    pingjunfen = float(t3_11_sum) / float(35)
    result_xishu3_11 = pingjunfen * 0.1225

    zp_list = d3[11]
    if zp_list == t3_11_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("3.11各项分数为：", t3_11_list1)
    print("3.11机构自评显示分数：", t3_11_d_list)
    print("3.11各项分数总和", t3_11_sum)

    "第三项第十二小节"
    for i in range(10):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[12]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t3_12_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[12]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t3_12_list1.append("0")
        elif ziping_nub == 1:
            t3_12_list1.append("1")
        elif ziping_nub == 2:
            t3_12_list1.append("2")
        elif ziping_nub == 3:
            t3_12_list1.append("3")
        elif ziping_nub == 4:
            t3_12_list1.append("4")
        elif ziping_nub == 5:
            t3_12_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[12]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("11-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t3_12_list1:
        t3_12_sum += int(j)

    pingjunfen = float(t3_12_sum) / float(50)
    result_xishu3_12 = pingjunfen * 0.102

    zp_list = d3[12]
    if zp_list == t3_12_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("3.12各项分数为：", t3_12_list1)
    print("3.12机构自评显示分数：", t3_12_d_list)
    print("3.12各项分数总和", t3_12_sum)

    "第三项第十三小节"
    for i in range(4):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[13]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t3_13_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[13]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t3_13_list1.append("0")
        elif ziping_nub == 1:
            t3_13_list1.append("1")
        elif ziping_nub == 2:
            t3_13_list1.append("2")
        elif ziping_nub == 3:
            t3_13_list1.append("3")
        elif ziping_nub == 4:
            t3_13_list1.append("4")
        elif ziping_nub == 5:
            t3_13_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[13]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("12-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t3_13_list1:
        t3_13_sum += int(j)

    pingjunfen = float(t3_13_sum) / float(20)
    result_xishu3_13 = pingjunfen * 0.0863

    zp_list = d3[13]
    if zp_list == t3_13_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("3.13各项分数为：", t3_13_list1)
    print("3.13机构自评显示分数：", t3_13_d_list)
    print("3.13各项分数总和", t3_13_sum)
    t3_all_sum = int(round((
                                       result_xishu3_1 + result_xishu3_2 + result_xishu3_3 + result_xishu3_4 + result_xishu3_5 + result_xishu3_6 + result_xishu3_7 + result_xishu3_8 + result_xishu3_9 + result_xishu3_10 + result_xishu3_11 + result_xishu3_12 + result_xishu3_13) * 300,
                           0))
    print("第三项总得分：", t3_all_sum)
    driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[3]/div/button[1]").click()
    sleep(2)
    driver.switch_to.alert.accept()
    sleep(1)
    js = "window.scrollTo(0,0);"
    driver.execute_script(js)
    sleep(1)
    """
        第四项

        """
    t4_1_sum = 0
    t4_2_sum = 0
    t4_3_sum = 0
    t4_4_sum = 0

    t4_1_d_list = []
    t4_2_d_list = []
    t4_3_d_list = []
    t4_4_d_list = []

    t4_1_list1 = []
    t4_2_list1 = []
    t4_3_list1 = []
    t4_4_list1 = []

    Select(driver.find_element_by_name("lb")).select_by_value("3")
    sleep(1)
    for i in range(5):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t4_1_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t4_1_list1.append("0")
        elif ziping_nub == 1:
            t4_1_list1.append("1")
        elif ziping_nub == 2:
            t4_1_list1.append("2")
        elif ziping_nub == 3:
            t4_1_list1.append("3")
        elif ziping_nub == 4:
            t4_1_list1.append("4")
        elif ziping_nub == 5:
            t4_1_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("0-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")
    for j in t4_1_list1:
        t4_1_sum += int(j)

    pingjunfen = float(t4_1_sum) / float(25)
    result_xishu4_1 = pingjunfen * 0.3414

    zp_list = d4[1]
    if zp_list == t4_1_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("4.1各项分数为：", t4_1_list1)
    print("4.1机构自评显示分数：", t4_1_d_list)
    print("4.1各项分数总和：", t4_1_sum)

    "第四项第二小节"
    sleep(1)
    for i in range(8):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t4_2_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t4_2_list1.append("0")
        elif ziping_nub == 1:
            t4_2_list1.append("1")
        elif ziping_nub == 2:
            t4_2_list1.append("2")
        elif ziping_nub == 3:
            t4_2_list1.append("3")
        elif ziping_nub == 4:
            t4_2_list1.append("4")
        elif ziping_nub == 5:
            t4_2_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("1-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t4_2_list1:
        t4_2_sum += int(j)

    pingjunfen = float(t4_2_sum) / float(40)
    result_xishu4_2 = pingjunfen * 0.1938

    zp_list = d4[2]
    if zp_list == t4_2_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("4.2各项分数为：", t4_2_list1)
    print("4.2机构自评显示分数：", t4_2_d_list)
    print("4.2各项分数总和", t4_2_sum)

    "第四项第三小节"
    for i in range(3):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t4_3_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t4_3_list1.append("0")
        elif ziping_nub == 1:
            t4_3_list1.append("1")
        elif ziping_nub == 2:
            t4_3_list1.append("2")
        elif ziping_nub == 3:
            t4_3_list1.append("3")
        elif ziping_nub == 4:
            t4_3_list1.append("4")
        elif ziping_nub == 5:
            t4_3_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("2-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t4_3_list1:
        t4_3_sum += int(j)

    pingjunfen = float(t4_3_sum) / float(15)
    result_xishu4_3 = pingjunfen * 0.139

    zp_list = d4[3]
    if zp_list == t4_3_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("4.3各项分数为：", t4_3_list1)
    print("4.3机构自评显示分数：", t4_3_d_list)
    print("4.3各项分数总和", t4_3_sum)

    "第四项第四小节"
    for i in range(5):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t4_4_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t4_4_list1.append("0")
        elif ziping_nub == 1:
            t4_4_list1.append("1")
        elif ziping_nub == 2:
            t4_4_list1.append("2")
        elif ziping_nub == 3:
            t4_4_list1.append("3")
        elif ziping_nub == 4:
            t4_4_list1.append("4")
        elif ziping_nub == 5:
            t4_4_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("3-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t4_4_list1:
        t4_4_sum += int(j)

    pingjunfen = float(t4_4_sum) / float(25)
    result_xishu4_4 = pingjunfen * 0.3258

    zp_list = d4[4]
    if zp_list == t4_4_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("4.4各项分数为：", t4_4_list1)
    print("4.4机构自评显示分数：", t4_4_d_list)
    print("4.4各项分数总和", t4_4_sum)
    t4_all_sum = int(round((result_xishu4_1 + result_xishu4_2 + result_xishu4_3 + result_xishu4_4) * 100, 0))
    print("第四项总得分：", t4_all_sum)
    driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[3]/div/button[1]").click()
    sleep(1)
    driver.switch_to.alert.accept()
    sleep(1)
    js = "window.scrollTo(0,0);"
    driver.execute_script(js)
    sleep(1)

    """
        第五项
        """
    t5_1_sum = 0
    t5_2_sum = 0
    t5_3_sum = 0
    t5_4_sum = 0

    t5_1_d_list = []
    t5_2_d_list = []
    t5_3_d_list = []
    t5_4_d_list = []

    t5_1_list1 = []
    t5_2_list1 = []
    t5_3_list1 = []
    t5_4_list1 = []
    Select(driver.find_element_by_name("lb")).select_by_value("4")
    sleep(1)
    "第五项第一小节"
    for i in range(9):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t5_1_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t5_1_list1.append("0")
        elif ziping_nub == 1:
            t5_1_list1.append("1")
        elif ziping_nub == 2:
            t5_1_list1.append("2")
        elif ziping_nub == 3:
            t5_1_list1.append("3")
        elif ziping_nub == 4:
            t5_1_list1.append("4")
        elif ziping_nub == 5:
            t5_1_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("0-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")
    for j in t5_1_list1:
        t5_1_sum += int(j)

    pingjunfen = float(t5_1_sum) / float(45)
    result_xishu5_1 = pingjunfen * 0.2234

    zp_list = d5[1]
    if zp_list == t5_1_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("5.1各项分数为：", t5_1_list1)
    print("5.1机构自评显示分数：", t5_1_d_list)
    print("5.1各项分数总和：", t5_1_sum)

    "第五项第二小节"
    for i in range(3):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t5_2_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t5_2_list1.append("0")
        elif ziping_nub == 1:
            t5_2_list1.append("1")
        elif ziping_nub == 2:
            t5_2_list1.append("2")
        elif ziping_nub == 3:
            t5_2_list1.append("3")
        elif ziping_nub == 4:
            t5_2_list1.append("4")
        elif ziping_nub == 5:
            t5_2_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("1-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t5_2_list1:
        t5_2_sum += int(j)

    pingjunfen = float(t5_2_sum) / float(15)
    result_xishu5_2 = pingjunfen * 0.2594
    zp_list = d5[2]
    if zp_list == t5_2_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("5.2各项分数为：", t5_2_list1)
    print("5.2机构自评显示分数：", t5_2_d_list)
    print("5.2各项分数总和", t5_2_sum)

    "第五项第三小节"
    for i in range(4):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t5_3_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t5_3_list1.append("0")
        elif ziping_nub == 1:
            t5_3_list1.append("1")
        elif ziping_nub == 2:
            t5_3_list1.append("2")
        elif ziping_nub == 3:
            t5_3_list1.append("3")
        elif ziping_nub == 4:
            t5_3_list1.append("4")
        elif ziping_nub == 5:
            t5_3_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("2-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t5_3_list1:
        t5_3_sum += int(j)
    pingjunfen = float(t5_3_sum) / float(20)
    result_xishu5_3 = pingjunfen * 0.2494

    zp_list = d5[3]
    if zp_list == t5_3_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("5.3各项分数为：", t5_3_list1)
    print("5.3机构自评显示分数：", t5_3_d_list)
    print("5.3各项分数总和", t5_3_sum)

    "第五项第四小节"
    for i in range(3):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t5_4_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t5_4_list1.append("0")
        elif ziping_nub == 1:
            t5_4_list1.append("1")
        elif ziping_nub == 2:
            t5_4_list1.append("2")
        elif ziping_nub == 3:
            t5_4_list1.append("3")
        elif ziping_nub == 4:
            t5_4_list1.append("4")
        elif ziping_nub == 5:
            t5_4_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("3-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t5_4_list1:
        t5_4_sum += int(j)

    pingjunfen = float(t5_4_sum) / float(15)
    result_xishu5_4 = pingjunfen * 0.2678

    zp_list = d5[4]
    if zp_list == t5_4_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("5.4各项分数为：", t5_4_list1)
    print("5.4机构自评显示分数：", t5_4_d_list)
    print("5.4各项分数总和", t5_4_sum)
    t5_all_sum = int(round((result_xishu5_1 + result_xishu5_2 + result_xishu5_3 + result_xishu5_4) * 150, 0))
    print("第三项总得分：", t5_all_sum)
    driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[3]/div/button[1]").click()
    sleep(1)
    driver.switch_to.alert.accept()
    sleep(1)
    js = "window.scrollTo(0,0);"
    driver.execute_script(js)
    sleep(1)

    """
        第六项
        """
    t6_1_sum = 0
    t6_2_sum = 0
    t6_3_sum = 0

    t6_1_d_list = []
    t6_2_d_list = []
    t6_3_d_list = []

    t6_1_list1 = []
    t6_2_list1 = []
    t6_3_list1 = []
    "第六项第一小节"
    Select(driver.find_element_by_name("lb")).select_by_value("5")
    sleep(1)
    for i in range(2):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t6_1_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t6_1_list1.append("0")
        elif ziping_nub == 1:
            t6_1_list1.append("1")
        elif ziping_nub == 2:
            t6_1_list1.append("2")
        elif ziping_nub == 3:
            t6_1_list1.append("3")
        elif ziping_nub == 4:
            t6_1_list1.append("4")
        elif ziping_nub == 5:
            t6_1_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("0-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")
    for j in t6_1_list1:
        t6_1_sum += int(j)

    pingjunfen = float(t6_1_sum) / float(10)
    result_xishu6_1 = pingjunfen * 0.378

    zp_list = d6[1]
    if zp_list == t6_1_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("6.1各项分数为：", t6_1_list1)
    print("6.1机构自评显示分数：", t6_1_d_list)
    print("6.1各项分数总和：", t6_1_sum)

    "第六项第二小节"
    for i in range(2):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t6_2_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t6_2_list1.append("0")
        elif ziping_nub == 1:
            t6_2_list1.append("1")
        elif ziping_nub == 2:
            t6_2_list1.append("2")
        elif ziping_nub == 3:
            t6_2_list1.append("3")
        elif ziping_nub == 4:
            t6_2_list1.append("4")
        elif ziping_nub == 5:
            t6_2_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("1-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t6_2_list1:
        t6_2_sum += int(j)

    pingjunfen = float(t6_2_sum) / float(10)
    result_xishu6_2 = pingjunfen * 0.262
    zp_list = d6[2]
    if zp_list == t6_2_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("6.2各项分数为：", t6_2_list1)
    print("6.2机构自评显示分数：", t6_2_d_list)
    print("6.2各项分数总和", t6_2_sum)

    "第三项第三小节"
    for i in range(3):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t6_3_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t6_3_list1.append("0")
        elif ziping_nub == 1:
            t6_3_list1.append("1")
        elif ziping_nub == 2:
            t6_3_list1.append("2")
        elif ziping_nub == 3:
            t6_3_list1.append("3")
        elif ziping_nub == 4:
            t6_3_list1.append("4")
        elif ziping_nub == 5:
            t6_3_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("2-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t6_3_list1:
        t6_3_sum += int(j)

    pingjunfen = float(t6_3_sum) / float(15)
    result_xishu6_3 = pingjunfen * 0.3599

    zp_list = d6[3]
    if zp_list == t6_3_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("6.3各项分数为：", t6_3_list1)
    print("6.3机构自评显示分数：", t6_3_d_list)
    print("6.3各项分数总和", t6_3_sum)
    t6_all_sum = int(round((result_xishu6_1 + result_xishu6_2 + result_xishu6_3) * 150, 0))
    print("三项总得分：", t6_all_sum)
    driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[3]/div/button[1]").click()
    sleep(1)
    driver.switch_to.alert.accept()
    sleep(1)
    js = "window.scrollTo(0,0);"
    driver.execute_script(js)
    sleep(1)

    """
        第七项
        """
    t7_1_sum = 0
    t7_2_sum = 0
    t7_3_sum = 0
    t7_4_sum = 0
    t7_5_sum = 0
    t7_6_sum = 0

    t7_1_d_list = []
    t7_2_d_list = []
    t7_3_d_list = []
    t7_4_d_list = []
    t7_5_d_list = []
    t7_6_d_list = []

    t7_1_list1 = []
    t7_2_list1 = []
    t7_3_list1 = []
    t7_4_list1 = []
    t7_5_list1 = []
    t7_6_list1 = []

    "第七项第一小节"
    Select(driver.find_element_by_name("lb")).select_by_value("6")
    sleep(1)
    for i in range(2):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t7_1_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t7_1_list1.append("0")
        elif ziping_nub == 1:
            t7_1_list1.append("1")
        elif ziping_nub == 2:
            t7_1_list1.append("2")
        elif ziping_nub == 3:
            t7_1_list1.append("3")
        elif ziping_nub == 4:
            t7_1_list1.append("4")
        elif ziping_nub == 5:
            t7_1_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("0-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")
    for j in t7_1_list1:
        t7_1_sum += int(j)

    pingjunfen = float(t7_1_sum) / float(10)
    result_xishu7_1 = pingjunfen * 0.145

    zp_list = d7[1]
    if zp_list == t7_1_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")

    print("7.1各项分数为：", t7_1_list1)
    print("7.1机构自评显示分数：", t7_1_d_list)
    print("7.1各项分数总和：", t7_1_sum)

    "第七项第二小节"
    for i in range(8):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t7_2_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t7_2_list1.append("0")
        elif ziping_nub == 1:
            t7_2_list1.append("1")
        elif ziping_nub == 2:
            t7_2_list1.append("2")
        elif ziping_nub == 3:
            t7_2_list1.append("3")
        elif ziping_nub == 4:
            t7_2_list1.append("4")
        elif ziping_nub == 5:
            t7_2_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("1-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t7_2_list1:
        t7_2_sum += int(j)

    pingjunfen = float(t7_2_sum) / float(40)
    result_xishu7_2 = pingjunfen * 0.1737

    zp_list = d7[2]
    if zp_list == t7_2_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("7.2各项分数为：", t7_2_list1)
    print("7.2机构自评显示分数：", t7_2_d_list)
    print("7.2各项分数总和", t7_2_sum)

    "第七项第三小节"
    for i in range(7):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t7_3_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t7_3_list1.append("0")
        elif ziping_nub == 1:
            t7_3_list1.append("1")
        elif ziping_nub == 2:
            t7_3_list1.append("2")
        elif ziping_nub == 3:
            t7_3_list1.append("3")
        elif ziping_nub == 4:
            t7_3_list1.append("4")
        elif ziping_nub == 5:
            t7_3_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("2-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t7_3_list1:
        t7_3_sum += int(j)

    pingjunfen = float(t7_3_sum) / float(35)
    result_xishu7_3 = pingjunfen * 0.1769

    zp_list = d7[3]
    if zp_list == t7_3_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("7.3各项分数为：", t7_3_list1)
    print("7.3机构自评显示分数：", t7_3_d_list)
    print("7.3各项分数总和", t7_3_sum)

    "第七项第四小节"
    for i in range(7):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t7_4_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t7_4_list1.append("0")
        elif ziping_nub == 1:
            t7_4_list1.append("1")
        elif ziping_nub == 2:
            t7_4_list1.append("2")
        elif ziping_nub == 3:
            t7_4_list1.append("3")
        elif ziping_nub == 4:
            t7_4_list1.append("4")
        elif ziping_nub == 5:
            t7_4_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("3-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t7_4_list1:
        t7_4_sum += int(j)

    pingjunfen = float(t7_4_sum) / float(35)
    result_xishu7_4 = pingjunfen * 0.1988

    zp_list = d7[4]
    if zp_list == t7_4_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("7.4各项分数为：", t7_4_list1)
    print("7.4机构自评显示分数：", t7_4_d_list)
    print("7.4各项分数总和", t7_4_sum)

    "第七项第五小节"
    for i in range(6):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[5]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t7_5_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[5]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t7_5_list1.append("0")
        elif ziping_nub == 1:
            t7_5_list1.append("1")
        elif ziping_nub == 2:
            t7_5_list1.append("2")
        elif ziping_nub == 3:
            t7_5_list1.append("3")
        elif ziping_nub == 4:
            t7_5_list1.append("4")
        elif ziping_nub == 5:
            t7_5_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[5]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("4-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t7_5_list1:
        t7_5_sum += int(j)

    pingjunfen = float(t7_5_sum) / float(30)
    result_xishu7_5 = pingjunfen * 0.152

    zp_list = d7[5]
    if zp_list == t7_5_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("7.5各项分数为：", t7_5_list1)
    print("7.5机构自评显示分数：", t7_5_d_list)
    print("7.5各项分数总和", t7_5_sum)

    "第七项第六小节"
    for i in range(3):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[6]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t7_6_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[6]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t7_6_list1.append("0")
        elif ziping_nub == 1:
            t7_6_list1.append("1")
        elif ziping_nub == 2:
            t7_6_list1.append("2")
        elif ziping_nub == 3:
            t7_6_list1.append("3")
        elif ziping_nub == 4:
            t7_6_list1.append("4")
        elif ziping_nub == 5:
            t7_6_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[6]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("5-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t7_6_list1:
        t7_6_sum += int(j)

    pingjunfen = float(t7_6_sum) / float(15)
    result_xishu7_6 = pingjunfen * 0.1536

    zp_list = d7[6]
    if zp_list == t7_6_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("7.6各项分数为：", t7_6_list1)
    print("7.6机构自评显示分数：", t7_6_d_list)
    print("7.6各项分数总和", t7_6_sum)
    t7_all_sum = int(round((
                                       result_xishu7_1 + result_xishu7_2 + result_xishu7_3 + result_xishu7_4 + result_xishu7_5 + result_xishu7_6) * 150,
                           0))
    print("三项总得分：", t7_all_sum)
    driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[3]/div/button[1]").click()
    sleep(1)
    driver.switch_to.alert.accept()
    sleep(1)
    js = "window.scrollTo(0,0);"
    driver.execute_script(js)
    sleep(1)

    """
        第八项
        """
    t8_1_sum = 0
    t8_2_sum = 0
    t8_3_sum = 0
    t8_4_sum = 0

    t8_1_d_list = []
    t8_2_d_list = []
    t8_3_d_list = []
    t8_4_d_list = []

    t8_1_list1 = []
    t8_2_list1 = []
    t8_3_list1 = []
    t8_4_list1 = []

    "第八项第一小节"
    Select(driver.find_element_by_name("lb")).select_by_value("7")
    sleep(1)
    for i in range(9):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t8_1_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t8_1_list1.append("0")
        elif ziping_nub == 1:
            t8_1_list1.append("1")
        elif ziping_nub == 2:
            t8_1_list1.append("2")
        elif ziping_nub == 3:
            t8_1_list1.append("3")
        elif ziping_nub == 4:
            t8_1_list1.append("4")
        elif ziping_nub == 5:
            t8_1_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("0-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")
    for j in t8_1_list1:
        t8_1_sum += int(j)

    pingjunfen = float(t8_1_sum) / float(45)
    result_xishu8_1 = pingjunfen * 0.2214

    zp_list = d8[1]
    if zp_list == t8_1_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("8.1各项分数为：", t8_1_list1)
    print("8.1机构自评显示分数：", t8_1_d_list)
    print("8.1各项分数总和：", t8_1_sum)

    "第八项第二小节"
    for i in range(6):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t8_2_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t8_2_list1.append("0")
        elif ziping_nub == 1:
            t8_2_list1.append("1")
        elif ziping_nub == 2:
            t8_2_list1.append("2")
        elif ziping_nub == 3:
            t8_2_list1.append("3")
        elif ziping_nub == 4:
            t8_2_list1.append("4")
        elif ziping_nub == 5:
            t8_2_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("1-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t8_2_list1:
        t8_2_sum += int(j)

    pingjunfen = float(t8_2_sum) / float(30)
    result_xishu8_2 = pingjunfen * 0.3021

    zp_list = d8[2]
    if zp_list == t8_2_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("8.2各项分数为：", t8_2_list1)
    print("8.2机构自评显示分数：", t8_2_d_list)
    print("8.2各项分数总和", t8_2_sum)

    "第八项第三小节"
    for i in range(8):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t8_3_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t8_3_list1.append("0")
        elif ziping_nub == 1:
            t8_3_list1.append("1")
        elif ziping_nub == 2:
            t8_3_list1.append("2")
        elif ziping_nub == 3:
            t8_3_list1.append("3")
        elif ziping_nub == 4:
            t8_3_list1.append("4")
        elif ziping_nub == 5:
            t8_3_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("2-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t8_3_list1:
        t8_3_sum += int(j)

    pingjunfen = float(t8_3_sum) / float(40)
    result_xishu8_3 = pingjunfen * 0.1795

    zp_list = d8[3]
    if zp_list == t8_3_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("8.3各项分数为：", t8_3_list1)
    print("8.3机构自评显示分数：", t8_3_d_list)
    print("8.3各项分数总和", t8_3_sum)

    "第八项第四小节"
    for i in range(9):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t8_4_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t8_4_list1.append("0")
        elif ziping_nub == 1:
            t8_4_list1.append("1")
        elif ziping_nub == 2:
            t8_4_list1.append("2")
        elif ziping_nub == 3:
            t8_4_list1.append("3")
        elif ziping_nub == 4:
            t8_4_list1.append("4")
        elif ziping_nub == 5:
            t8_4_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("3-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t8_4_list1:
        t8_4_sum += int(j)

    pingjunfen = float(t8_4_sum) / float(45)
    result_xishu8_4 = pingjunfen * 0.2969

    zp_list = d8[4]
    if zp_list == t8_4_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("8.4各项分数为：", t8_4_list1)
    print("8.4机构自评显示分数：", t8_4_d_list)
    print("8.4各项分数总和", t8_4_sum)
    t8_all_sum = int(round((result_xishu8_1 + result_xishu8_2 + result_xishu8_3 + result_xishu8_4) * 120, 0))
    print("第三项总得分：", t8_all_sum)
    driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[3]/div/button[1]").click()
    sleep(1)
    driver.switch_to.alert.accept()
    sleep(1)
    js = "window.scrollTo(0,0);"
    driver.execute_script(js)
    sleep(1)

    t9_1_sum = 0
    t9_2_sum = 0
    t9_3_sum = 0
    t9_4_sum = 0

    t9_1_d_list = []
    t9_2_d_list = []
    t9_3_d_list = []
    t9_4_d_list = []

    t9_1_list1 = []
    t9_2_list1 = []
    t9_3_list1 = []
    t9_4_list1 = []
    "第九项第一小节"
    Select(driver.find_element_by_name("lb")).select_by_value("8")
    sleep(1)
    for i in range(5):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t9_1_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t9_1_list1.append("0")
        elif ziping_nub == 1:
            t9_1_list1.append("1")
        elif ziping_nub == 2:
            t9_1_list1.append("2")
        elif ziping_nub == 3:
            t9_1_list1.append("3")
        elif ziping_nub == 4:
            t9_1_list1.append("4")
        elif ziping_nub == 5:
            t9_1_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("0-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")
    for j in t9_1_list1:
        t9_1_sum += int(j)

    pingjunfen = float(t9_1_sum) / float(25)
    result_xishu9_1 = pingjunfen * 0.2631

    zp_list = d9[1]
    if zp_list == t9_1_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("9.1各项分数为：", t9_1_list1)
    print("9.1机构自评显示分数：", t9_1_d_list)
    print("9.1各项分数总和：", t9_1_sum)

    "第九项第二小节"
    for i in range(2):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t9_2_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t9_2_list1.append("0")
        elif ziping_nub == 1:
            t9_2_list1.append("1")
        elif ziping_nub == 2:
            t9_2_list1.append("2")
        elif ziping_nub == 3:
            t9_2_list1.append("3")
        elif ziping_nub == 4:
            t9_2_list1.append("4")
        elif ziping_nub == 5:
            t9_2_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("1-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t9_2_list1:
        t9_2_sum += int(j)

    pingjunfen = float(t9_2_sum) / float(10)
    result_xishu9_2 = pingjunfen * 0.1843

    zp_list = d9[2]
    if zp_list == t9_2_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("9.2各项分数为：", t9_2_list1)
    print("9.2机构自评显示分数：", t9_2_d_list)
    print("9.2各项分数总和", t9_2_sum)

    "第九项第三小节"
    for i in range(6):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t9_3_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t9_3_list1.append("0")
        elif ziping_nub == 1:
            t9_3_list1.append("1")
        elif ziping_nub == 2:
            t9_3_list1.append("2")
        elif ziping_nub == 3:
            t9_3_list1.append("3")
        elif ziping_nub == 4:
            t9_3_list1.append("4")
        elif ziping_nub == 5:
            t9_3_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("2-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t9_3_list1:
        t9_3_sum += int(j)

    pingjunfen = float(t9_3_sum) / float(30)
    result_xishu9_3 = pingjunfen * 0.2065

    zp_list = d9[3]
    if zp_list == t9_3_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("9.3各项分数为：", t9_3_list1)
    print("9.3机构自评显示分数：", t9_3_d_list)
    print("9.3各项分数总和", t9_3_sum)

    "第九项第四小节"
    for i in range(2):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t9_4_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t9_4_list1.append("0")
        elif ziping_nub == 1:
            t9_4_list1.append("1")
        elif ziping_nub == 2:
            t9_4_list1.append("2")
        elif ziping_nub == 3:
            t9_4_list1.append("3")
        elif ziping_nub == 4:
            t9_4_list1.append("4")
        elif ziping_nub == 5:
            t9_4_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("3-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t9_4_list1:
        t9_4_sum += int(j)

    pingjunfen = float(t9_4_sum) / float(10)
    result_xishu9_4 = pingjunfen * 0.346

    zp_list = d9[4]
    if zp_list == t9_4_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("9.4各项分数为：", t9_4_list1)
    print("9.4机构自评显示分数：", t9_4_d_list)
    print("9.4各项分数总和", t9_4_sum)
    t9_all_sum = int(round((result_xishu9_1 + result_xishu9_2 + result_xishu9_3 + result_xishu9_4) * 120, 0))
    print("三项总得分：", t9_all_sum)
    driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[3]/div/button[1]").click()
    sleep(1)
    driver.switch_to.alert.accept()
    sleep(1)
    js = "window.scrollTo(0,0);"
    driver.execute_script(js)
    sleep(1)

    t10_1_sum = 0
    t10_2_sum = 0
    t10_3_sum = 0
    t10_4_sum = 0
    t10_5_sum = 0

    t10_1_d_list = []
    t10_2_d_list = []
    t10_3_d_list = []
    t10_4_d_list = []
    t10_5_d_list = []

    t10_1_list1 = []
    t10_2_list1 = []
    t10_3_list1 = []
    t10_4_list1 = []
    t10_5_list1 = []
    "第十项第一小节"
    Select(driver.find_element_by_name("lb")).select_by_value("9")
    sleep(1)
    for i in range(7):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t10_1_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t10_1_list1.append("0")
        elif ziping_nub == 1:
            t10_1_list1.append("1")
        elif ziping_nub == 2:
            t10_1_list1.append("2")
        elif ziping_nub == 3:
            t10_1_list1.append("3")
        elif ziping_nub == 4:
            t10_1_list1.append("4")
        elif ziping_nub == 5:
            t10_1_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("0-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")
    for j in t10_1_list1:
        t10_1_sum += int(j)

    pingjunfen = float(t10_1_sum) / float(35)
    result_xishu10_1 = pingjunfen * 0.1957

    zp_list = d10[1]
    if zp_list == t10_1_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")

    print("10.1各项分数为：", t10_1_list1)
    print("10.1机构自评显示分数：", t10_1_d_list)
    print("10.1各项分数总和：", t10_1_sum)

    "第十项第二小节"
    for i in range(1):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t10_2_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t10_2_list1.append("0")
        elif ziping_nub == 1:
            t10_2_list1.append("1")
        elif ziping_nub == 2:
            t10_2_list1.append("2")
        elif ziping_nub == 3:
            t10_2_list1.append("3")
        elif ziping_nub == 4:
            t10_2_list1.append("4")
        elif ziping_nub == 5:
            t10_2_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("1-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t10_2_list1:
        t10_2_sum += int(j)

    pingjunfen = float(t10_2_sum) / float(5)
    result_xishu10_2 = pingjunfen * 0.1999

    zp_list = d10[2]
    if zp_list == t10_2_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("10.2各项分数为：", t10_2_list1)
    print("10.2机构自评显示分数：", t10_2_d_list)
    print("10.2各项分数总和", t10_2_sum)

    "第十项第三小节"
    for i in range(1):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t10_3_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t10_3_list1.append("0")
        elif ziping_nub == 1:
            t10_3_list1.append("1")
        elif ziping_nub == 2:
            t10_3_list1.append("2")
        elif ziping_nub == 3:
            t10_3_list1.append("3")
        elif ziping_nub == 4:
            t10_3_list1.append("4")
        elif ziping_nub == 5:
            t10_3_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("2-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t10_3_list1:
        t10_3_sum += int(j)

    pingjunfen = float(t10_3_sum) / float(5)
    result_xishu10_3 = pingjunfen * 0.1776

    zp_list = d10[3]
    if zp_list == t10_3_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("10.3各项分数为：", t10_3_list1)
    print("10.3机构自评显示分数：", t10_3_d_list)
    print("10.3各项分数总和", t10_3_sum)

    "第十项第四小节"
    for i in range(1):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t10_4_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t10_4_list1.append("0")
        elif ziping_nub == 1:
            t10_4_list1.append("1")
        elif ziping_nub == 2:
            t10_4_list1.append("2")
        elif ziping_nub == 3:
            t10_4_list1.append("3")
        elif ziping_nub == 4:
            t10_4_list1.append("4")
        elif ziping_nub == 5:
            t10_4_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("3-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t10_4_list1:
        t10_4_sum += int(j)

    zp_list = d10[4]
    if zp_list == t10_4_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")

    pingjunfen = float(t10_4_sum) / float(5)
    result_xishu10_4 = pingjunfen * 0.1736

    print("10.4各项分数为：", t10_4_list1)
    print("10.4机构自评显示分数：", t10_4_d_list)
    print("10.4各项分数总和", t10_4_sum)

    "第十项第五小节"
    for i in range(8):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[5]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t10_5_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[5]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t10_5_list1.append("0")
        elif ziping_nub == 1:
            t10_5_list1.append("1")
        elif ziping_nub == 2:
            t10_5_list1.append("2")
        elif ziping_nub == 3:
            t10_5_list1.append("3")
        elif ziping_nub == 4:
            t10_5_list1.append("4")
        elif ziping_nub == 5:
            t10_5_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[5]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("4-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t10_5_list1:
        t10_5_sum += int(j)
    pingjunfen = float(t10_5_sum) / float(40)
    result_xishu10_5 = pingjunfen * 0.2531

    zp_list = d10[5]
    if zp_list == t10_5_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("10.5各项分数为：", t10_5_list1)
    print("10.5机构自评显示分数：", t10_5_d_list)
    print("10.5各项分数总和", t10_5_sum)

    t10_all_sum = int(
        round((result_xishu10_1 + result_xishu10_2 + result_xishu10_3 + result_xishu10_4 + result_xishu10_5) * 120, 0))
    print("三项总得分：", t10_all_sum)
    driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[3]/div/button[1]").click()
    sleep(1)
    driver.switch_to.alert.accept()
    sleep(1)
    js = "window.scrollTo(0,0);"
    driver.execute_script(js)
    sleep(1)

    t11_1_sum = 0
    t11_2_sum = 0
    t11_3_sum = 0
    t11_4_sum = 0
    t11_5_sum = 0

    t11_1_d_list = []
    t11_2_d_list = []
    t11_3_d_list = []
    t11_4_d_list = []
    t11_5_d_list = []

    t11_1_list1 = []
    t11_2_list1 = []
    t11_3_list1 = []
    t11_4_list1 = []
    t11_5_list1 = []

    "第十一项第一小节"
    Select(driver.find_element_by_name("lb")).select_by_value("10")
    sleep(1)
    for i in range(3):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t11_1_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t11_1_list1.append("0")
        elif ziping_nub == 1:
            t11_1_list1.append("1")
        elif ziping_nub == 2:
            t11_1_list1.append("2")
        elif ziping_nub == 3:
            t11_1_list1.append("3")
        elif ziping_nub == 4:
            t11_1_list1.append("4")
        elif ziping_nub == 5:
            t11_1_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("0-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")
    for j in t11_1_list1:
        t11_1_sum += int(j)

    pingjunfen = float(t11_1_sum) / float(15)
    result_xishu11_1 = pingjunfen * 0.2928

    zp_list = d11[1]
    if zp_list == t11_1_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("11.1各项分数为：", t11_1_list1)
    print("11.1机构自评显示分数：", t11_1_d_list)
    print("11.1各项分数总和：", t11_1_sum)

    "第十一项第二小节"
    for i in range(5):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t11_2_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t11_2_list1.append("0")
        elif ziping_nub == 1:
            t11_2_list1.append("1")
        elif ziping_nub == 2:
            t11_2_list1.append("2")
        elif ziping_nub == 3:
            t11_2_list1.append("3")
        elif ziping_nub == 4:
            t11_2_list1.append("4")
        elif ziping_nub == 5:
            t11_2_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("1-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t11_2_list1:
        t11_2_sum += int(j)

    pingjunfen = float(t11_2_sum) / float(25)
    result_xishu11_2 = pingjunfen * 0.123

    zp_list = d11[2]
    if zp_list == t11_2_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("11.2各项分数为：", t11_2_list1)
    print("11.2机构自评显示分数：", t11_2_d_list)
    print("11.2各项分数总和", t11_2_sum)

    "第十一项第三小节"
    for i in range(6):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t11_3_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t11_3_list1.append("0")
        elif ziping_nub == 1:
            t11_3_list1.append("1")
        elif ziping_nub == 2:
            t11_3_list1.append("2")
        elif ziping_nub == 3:
            t11_3_list1.append("3")
        elif ziping_nub == 4:
            t11_3_list1.append("4")
        elif ziping_nub == 5:
            t11_3_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("2-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t11_3_list1:
        t11_3_sum += int(j)

    pingjunfen = float(t11_3_sum) / float(30)
    result_xishu11_3 = pingjunfen * 0.2363

    zp_list = d11[3]
    if zp_list == t11_3_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("11.3各项分数为：", t11_3_list1)
    print("11.3机构自评显示分数：", t11_3_d_list)
    print("11.3各项分数总和", t11_3_sum)

    "第十一项第四小节"
    for i in range(4):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t11_4_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t11_4_list1.append("0")
        elif ziping_nub == 1:
            t11_4_list1.append("1")
        elif ziping_nub == 2:
            t11_4_list1.append("2")
        elif ziping_nub == 3:
            t11_4_list1.append("3")
        elif ziping_nub == 4:
            t11_4_list1.append("4")
        elif ziping_nub == 5:
            t11_4_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("3-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t11_4_list1:
        t11_4_sum += int(j)

    pingjunfen = float(t11_4_sum) / float(20)
    result_xishu11_4 = pingjunfen * 0.1834

    zp_list = d11[4]
    if zp_list == t11_4_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("11.4各项分数为：", t11_4_list1)
    print("11.4机构自评显示分数：", t11_4_d_list)
    print("11.4各项分数总和", t11_4_sum)

    "第十一项第五小节"
    for i in range(2):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[5]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t11_5_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[5]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t11_5_list1.append("0")
        elif ziping_nub == 1:
            t11_5_list1.append("1")
        elif ziping_nub == 2:
            t11_5_list1.append("2")
        elif ziping_nub == 3:
            t11_5_list1.append("3")
        elif ziping_nub == 4:
            t11_5_list1.append("4")
        elif ziping_nub == 5:
            t11_5_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[5]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("4-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t11_5_list1:
        t11_5_sum += int(j)

    pingjunfen = float(t11_5_sum) / float(10)
    result_xishu11_5 = pingjunfen * 0.1646

    zp_list = d11[5]
    if zp_list == t11_5_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("11.5各项分数为：", t11_5_list1)
    print("11.5机构自评显示分数：", t11_5_d_list)
    print("11.5各项分数总和", t11_5_sum)
    t11_all_sum = int(
        round((result_xishu11_1 + result_xishu11_2 + result_xishu11_3 + result_xishu11_4 + result_xishu11_5) * 120, 0))
    print("三项总得分：", t11_all_sum)
    driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[3]/div/button[1]").click()
    sleep(1)
    driver.switch_to.alert.accept()
    sleep(1)
    js = "window.scrollTo(0,0);"
    driver.execute_script(js)
    sleep(1)

    t12_1_sum = 0
    t12_2_sum = 0

    t12_1_d_list = []
    t12_2_d_list = []

    t12_1_list1 = []
    t12_2_list1 = []
    "第十二项第一小节"
    Select(driver.find_element_by_name("lb")).select_by_value("11")
    sleep(1)
    for i in range(7):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t12_1_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t12_1_list1.append("0")
        elif ziping_nub == 1:
            t12_1_list1.append("1")
        elif ziping_nub == 2:
            t12_1_list1.append("2")
        elif ziping_nub == 3:
            t12_1_list1.append("3")
        elif ziping_nub == 4:
            t12_1_list1.append("4")
        elif ziping_nub == 5:
            t12_1_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("0-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")
    for j in t12_1_list1:
        t12_1_sum += int(j)

    pingjunfen = float(t12_1_sum) / float(35)
    result_xishu12_1 = pingjunfen * 0.3619
    zp_list = d12[1]
    if zp_list == t12_1_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("12.1各项分数为：", t12_1_list1)
    print("12.1机构自评显示分数：", t12_1_d_list)
    print("12.1各项分数总和：", t12_1_sum)

    "第十二项第二小节"
    for i in range(8):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t12_2_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t12_2_list1.append("0")
        elif ziping_nub == 1:
            t12_2_list1.append("1")
        elif ziping_nub == 2:
            t12_2_list1.append("2")
        elif ziping_nub == 3:
            t12_2_list1.append("3")
        elif ziping_nub == 4:
            t12_2_list1.append("4")
        elif ziping_nub == 5:
            t12_2_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("1-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t12_2_list1:
        t12_2_sum += int(j)

    pingjunfen = float(t12_2_sum) / float(40)
    result_xishu12_2 = pingjunfen * 0.6381

    zp_list = d12[2]
    if zp_list == t12_2_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("12.2各项分数为：", t12_2_list1)
    print("12.2机构自评显示分数：", t12_2_d_list)
    print("12.2各项分数总和", t12_2_sum)
    t12_all_sum = int(round((result_xishu12_1 + result_xishu12_2) * 120, 0))
    print("三项总得分：", t12_all_sum)
    driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[3]/div/button[1]").click()
    sleep(1)
    driver.switch_to.alert.accept()
    sleep(1)
    js = "window.scrollTo(0,0);"
    driver.execute_script(js)
    sleep(1)

    t13_1_sum = 0
    t13_2_sum = 0
    t13_3_sum = 0
    t13_4_sum = 0

    t13_1_d_list = []
    t13_2_d_list = []
    t13_3_d_list = []
    t13_4_d_list = []

    t13_1_list1 = []
    t13_2_list1 = []
    t13_3_list1 = []
    t13_4_list1 = []

    "第十三项第一小节"
    Select(driver.find_element_by_name("lb")).select_by_value("12")
    sleep(1)
    for i in range(6):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t13_1_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t13_1_list1.append("0")
        elif ziping_nub == 1:
            t13_1_list1.append("1")
        elif ziping_nub == 2:
            t13_1_list1.append("2")
        elif ziping_nub == 3:
            t13_1_list1.append("3")
        elif ziping_nub == 4:
            t13_1_list1.append("4")
        elif ziping_nub == 5:
            t13_1_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("0-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")
    for j in t13_1_list1:
        t13_1_sum += int(j)

    pingjunfen = float(t13_1_sum) / float(30)
    result_xishu13_1 = pingjunfen * 0.2988
    zp_list = d13[1]
    if zp_list == t13_1_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("13.1各项分数为：", t13_1_list1)
    print("13.1机构自评显示分数：", t13_1_d_list)
    print("13.1各项分数总和：", t13_1_sum)

    "第十三项第二小节"
    for i in range(3):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t13_2_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t13_2_list1.append("0")
        elif ziping_nub == 1:
            t13_2_list1.append("1")
        elif ziping_nub == 2:
            t13_2_list1.append("2")
        elif ziping_nub == 3:
            t13_2_list1.append("3")
        elif ziping_nub == 4:
            t13_2_list1.append("4")
        elif ziping_nub == 5:
            t13_2_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("1-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t13_2_list1:
        t13_2_sum += int(j)

    pingjunfen = float(t13_2_sum) / float(15)
    result_xishu13_2 = pingjunfen * 0.2009

    zp_list = d13[2]
    if zp_list == t13_2_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("13.2各项分数为：", t13_2_list1)
    print("13.2机构自评显示分数：", t13_2_d_list)
    print("13.2各项分数总和", t13_2_sum)

    "第十三项第三小节"
    for i in range(4):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t13_3_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t13_3_list1.append("0")
        elif ziping_nub == 1:
            t13_3_list1.append("1")
        elif ziping_nub == 2:
            t13_3_list1.append("2")
        elif ziping_nub == 3:
            t13_3_list1.append("3")
        elif ziping_nub == 4:
            t13_3_list1.append("4")
        elif ziping_nub == 5:
            t13_3_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("2-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t13_3_list1:
        t13_3_sum += int(j)

    pingjunfen = float(t13_3_sum) / float(20)
    result_xishu13_3 = pingjunfen * 0.2202

    zp_list = d13[3]
    if zp_list == t13_3_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("13.3各项分数为：", t13_3_list1)
    print("13.3机构自评显示分数：", t13_3_d_list)
    print("13.3各项分数总和", t13_3_sum)

    "第十三项第四小节"
    for i in range(2):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t13_4_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t13_4_list1.append("0")
        elif ziping_nub == 1:
            t13_4_list1.append("1")
        elif ziping_nub == 2:
            t13_4_list1.append("2")
        elif ziping_nub == 3:
            t13_4_list1.append("3")
        elif ziping_nub == 4:
            t13_4_list1.append("4")
        elif ziping_nub == 5:
            t13_4_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("3-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t13_4_list1:
        t13_4_sum += int(j)
    pingjunfen = float(t13_4_sum) / float(10)
    result_xishu13_4 = pingjunfen * 0.2802

    zp_list = d13[4]
    if zp_list == t13_4_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("13.4各项分数为：", t13_4_list1)
    print("13.4机构自评显示分数：", t13_4_d_list)
    print("13.4各项分数总和", t13_4_sum)
    t13_all_sum = int(round((result_xishu13_1 + result_xishu13_2 + result_xishu13_3 + result_xishu13_4) * 150, 0))
    print("三项总得分：", t13_all_sum)
    driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[3]/div/button[1]").click()
    sleep(1)
    driver.switch_to.alert.accept()
    sleep(1)
    js = "window.scrollTo(0,0);"
    driver.execute_script(js)
    sleep(1)

    t14_1_sum = 0
    t14_2_sum = 0
    t14_3_sum = 0
    t14_4_sum = 0
    t14_5_sum = 0
    t14_6_sum = 0
    t14_7_sum = 0

    t14_1_d_list = []
    t14_2_d_list = []
    t14_3_d_list = []
    t14_4_d_list = []
    t14_5_d_list = []
    t14_6_d_list = []
    t14_7_d_list = []

    t14_1_list1 = []
    t14_2_list1 = []
    t14_3_list1 = []
    t14_4_list1 = []
    t14_5_list1 = []
    t14_6_list1 = []
    t14_7_list1 = []
    "第十四项第一小节"
    Select(driver.find_element_by_name("lb")).select_by_value("13")
    sleep(1)
    for i in range(3):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t14_1_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t14_1_list1.append("0")
        elif ziping_nub == 1:
            t14_1_list1.append("1")
        elif ziping_nub == 2:
            t14_1_list1.append("2")
        elif ziping_nub == 3:
            t14_1_list1.append("3")
        elif ziping_nub == 4:
            t14_1_list1.append("4")
        elif ziping_nub == 5:
            t14_1_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("0-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")
    for j in t14_1_list1:
        t14_1_sum += int(j)
    pingjunfen = float(t14_1_sum) / float(15)
    result_xishu14_1 = pingjunfen * 0.192
    zp_list = d14[1]
    if zp_list == t14_1_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("14.1各项分数为：", t14_1_list1)
    print("14.1机构自评显示分数：", t14_1_d_list)
    print("14.1各项分数总和：", t14_1_sum)

    "第十四项第二小节"
    for i in range(2):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t14_2_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t14_2_list1.append("0")
        elif ziping_nub == 1:
            t14_2_list1.append("1")
        elif ziping_nub == 2:
            t14_2_list1.append("2")
        elif ziping_nub == 3:
            t14_2_list1.append("3")
        elif ziping_nub == 4:
            t14_2_list1.append("4")
        elif ziping_nub == 5:
            t14_2_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("1-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t14_2_list1:
        t14_2_sum += int(j)

    pingjunfen = float(t14_2_sum) / float(10)
    result_xishu14_2 = pingjunfen * 0.1876

    zp_list = d14[2]
    if zp_list == t14_2_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("14.2各项分数为：", t14_2_list1)
    print("14.2机构自评显示分数：", t14_2_d_list)
    print("14.2各项分数总和", t14_2_sum)

    "第十四项第三小节"
    for i in range(2):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t14_3_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t14_3_list1.append("0")
        elif ziping_nub == 1:
            t14_3_list1.append("1")
        elif ziping_nub == 2:
            t14_3_list1.append("2")
        elif ziping_nub == 3:
            t14_3_list1.append("3")
        elif ziping_nub == 4:
            t14_3_list1.append("4")
        elif ziping_nub == 5:
            t14_3_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("2-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t14_3_list1:
        t14_3_sum += int(j)

    pingjunfen = float(t14_3_sum) / float(10)
    result_xishu14_3 = pingjunfen * 0.1547

    zp_list = d14[3]
    if zp_list == t14_3_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("14.3各项分数为：", t14_3_list1)
    print("14.3机构自评显示分数：", t14_3_d_list)
    print("14.3各项分数总和", t14_3_sum)

    "第十四项第四小节"
    for i in range(5):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t14_4_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t14_4_list1.append("0")
        elif ziping_nub == 1:
            t14_4_list1.append("1")
        elif ziping_nub == 2:
            t14_4_list1.append("2")
        elif ziping_nub == 3:
            t14_4_list1.append("3")
        elif ziping_nub == 4:
            t14_4_list1.append("4")
        elif ziping_nub == 5:
            t14_4_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("3-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t14_4_list1:
        t14_4_sum += int(j)
    pingjunfen = float(t14_4_sum) / float(25)
    result_xishu14_4 = pingjunfen * 0.1425

    zp_list = d14[4]
    if zp_list == t14_4_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")

    print("14.4各项分数为：", t14_4_list1)
    print("14.4机构自评显示分数：", t14_4_d_list)
    print("14.4各项分数总和", t14_4_sum)

    "第十四项第五小节"
    for i in range(1):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[5]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t14_5_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[5]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t14_5_list1.append("0")
        elif ziping_nub == 1:
            t14_5_list1.append("1")
        elif ziping_nub == 2:
            t14_5_list1.append("2")
        elif ziping_nub == 3:
            t14_5_list1.append("3")
        elif ziping_nub == 4:
            t14_5_list1.append("4")
        elif ziping_nub == 5:
            t14_5_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[5]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("4-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t14_5_list1:
        t14_5_sum += int(j)

    pingjunfen = float(t14_5_sum) / float(5)
    result_xishu14_5 = pingjunfen * 0.0969

    zp_list = d14[5]
    if zp_list == t14_5_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")

    print("14.5各项分数为：", t14_5_list1)
    print("14.5机构自评显示分数：", t14_5_d_list)
    print("14.5各项分数总和", t14_5_sum)

    "第十四项第六小节"
    for i in range(1):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[6]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t14_6_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[6]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t14_6_list1.append("0")
        elif ziping_nub == 1:
            t14_6_list1.append("1")
        elif ziping_nub == 2:
            t14_6_list1.append("2")
        elif ziping_nub == 3:
            t14_6_list1.append("3")
        elif ziping_nub == 4:
            t14_6_list1.append("4")
        elif ziping_nub == 5:
            t14_6_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[6]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("5-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t14_6_list1:
        t14_6_sum += int(j)

    pingjunfen = float(t14_6_sum) / float(5)
    result_xishu14_6 = pingjunfen * 0.0942

    zp_list = d14[6]
    if zp_list == t14_6_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("14.6各项分数为：", t14_6_list1)
    print("14.6机构自评显示分数：", t14_6_d_list)
    print("14.6各项分数总和", t14_6_sum)

    "第十四项第七小节"
    for i in range(4):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[7]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t14_7_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[7]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t14_7_list1.append("0")
        elif ziping_nub == 1:
            t14_7_list1.append("1")
        elif ziping_nub == 2:
            t14_7_list1.append("2")
        elif ziping_nub == 3:
            t14_7_list1.append("3")
        elif ziping_nub == 4:
            t14_7_list1.append("4")
        elif ziping_nub == 5:
            t14_7_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[7]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("6-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t14_7_list1:
        t14_7_sum += int(j)

    pingjunfen = float(t14_7_sum) / float(20)
    result_xishu14_7 = pingjunfen * 0.1434

    zp_list = d14[7]
    if zp_list == t14_7_list1:
        print("自评分数相等")
    else:
        print("自评分数不相等")
    print("14.7各项分数为：", t14_7_list1)
    print("14.7机构自评显示分数：", t14_7_d_list)
    print("14.7各项分数总和", t14_7_sum)
    t14_all_sum = int(round((
                                        result_xishu14_1 + result_xishu14_2 + result_xishu14_3 + result_xishu14_4 + result_xishu14_5 + result_xishu14_6 + result_xishu14_7) * 100,
                            0))
    print("三项总得分：", t14_all_sum)
    driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[3]/div/button[1]").click()
    sleep(1)
    driver.switch_to.alert.accept()
    sleep(1)
    js = "window.scrollTo(0,0);"
    driver.execute_script(js)
    sleep(1)
    all_sum_d = t1_all_sum + t2_all_sum + t3_all_sum + t4_all_sum + t5_all_sum + t6_all_sum + t7_all_sum + t8_all_sum + t9_all_sum + t10_all_sum + t11_all_sum + t12_all_sum + t13_all_sum + t14_all_sum
    print("14项总合：", all_sum_d)

elif nubs == "5":
    username = str(input("请输入账号："))
    passwd = str(input("请输入密码："))
    unit_code = str(input("请输入机构编号："))
    driver.get("http://192.168.1.242:8034/admin/manage/login")
    driver.implicitly_wait(20)
    driver.find_element_by_name("username").send_keys(username)
    driver.implicitly_wait(20)
    driver.find_element_by_name("password").send_keys(passwd)
    driver.implicitly_wait(20)
    driver.find_element_by_xpath("/html/body/form/div/div[1]/div[2]/div[5]/button").click()
    sleep(2)
    driver.find_element_by_xpath("/html/body/div/div/div[2]/div/ul/li[6]/a").click()
    sleep(2)
    right_ifame = driver.find_element_by_xpath("/html/body/div/div/div[4]/div[2]/iframe")
    driver.switch_to.frame(right_ifame)
    print("现场审核框架跳入成功")
    sleep(2)
    driver.find_element_by_name("loginname").send_keys(unit_code)
    driver.implicitly_wait(29)
    driver.find_element_by_xpath("/html/body/div[1]/div/div[1]/div/div[6]/button/i").click()
    sleep(2)
    driver.find_element_by_xpath(
        "/html/body/div[1]/div/div[2]/div/div[1]/div[3]/div[2]/table/tbody/tr/td/div/a[2]").click()
    sleep(2)
    xuanxiang_iframe = driver.find_element_by_xpath("/html/body/div[4]/div[2]/iframe")
    driver.switch_to.frame(xuanxiang_iframe)
    sleep(2)
    "第一项"
    t1_1_sum = 0
    t1_2_sum = 0
    t1_3_sum = 0
    t1_1_list1 = []
    t1_2_list1 = []
    t1_3_list1 = []
    t1_1_d_list = []
    t1_2_d_list = []
    t1_3_d_list = []
    Select(driver.find_element_by_name("lb")).select_by_value("0")
    sleep(1)
    for i in range(4):
        # t1_nub = randint(1, 6)
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t1_1_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t1_1_list1.append("0")
        elif ziping_nub == 1:
            t1_1_list1.append("1")
        elif ziping_nub == 2:
            t1_1_list1.append("2")
        elif ziping_nub == 3:
            t1_1_list1.append("3")
        elif ziping_nub == 4:
            t1_1_list1.append("4")
        elif ziping_nub == 5:
            t1_1_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("0-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t1_1_list1:
        t1_1_sum += int(j)
    pingjunfen = float(t1_1_sum) / float(20)
    result_xishu1_1 = pingjunfen * 0.2271

    print("1.1各项分数为：", t1_1_list1)
    print("1.1机构自评显示分数：", t1_1_d_list)
    print("1.1各项分数总和：", t1_1_sum)

    "第一项第二小节"
    for i in range(7):
        sleep(1)
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t1_2_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t1_2_list1.append("0")
        elif ziping_nub == 1:
            t1_2_list1.append("1")
        elif ziping_nub == 2:
            t1_2_list1.append("2")
        elif ziping_nub == 3:
            t1_2_list1.append("3")
        elif ziping_nub == 4:
            t1_2_list1.append("4")
        elif ziping_nub == 5:
            t1_2_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("1-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t1_2_list1:
        t1_2_sum += int(j)

    pingjunfen = float(t1_2_sum) / float(35)
    result_xishu1_2 = pingjunfen * 0.3467

    print("1.2各项分数为：", t1_2_list1)
    print("1.2机构自评显示分数：", t1_2_d_list)
    print("1.2各项分数总和", t1_2_sum)

    "第一项第三小节"
    for i in range(8):
        sleep(1)
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t1_3_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t1_3_list1.append("0")
        elif ziping_nub == 1:
            t1_3_list1.append("1")
        elif ziping_nub == 2:
            t1_3_list1.append("2")
        elif ziping_nub == 3:
            t1_3_list1.append("3")
        elif ziping_nub == 4:
            t1_3_list1.append("4")
        elif ziping_nub == 5:
            t1_3_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("2-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t1_3_list1:
        t1_3_sum += int(j)

    pingjunfen = float(t1_3_sum) / float(40)
    result_xishu1_3 = pingjunfen * 0.4261

    print("1.3各项分数为：", t1_3_list1)
    print("1.3机构自评显示分数：", t1_3_d_list)
    print("1.3各项分数总和", t1_3_sum)

    t1_all_sum = int(round((result_xishu1_1 + result_xishu1_2 + result_xishu1_3) * 150, 0))
    print("第一项总得分：", t1_all_sum)

    driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[3]/div/button[1]").click()
    sleep(1)
    driver.switch_to.alert.accept()
    sleep(1)
    js = "window.scrollTo(0,0);"
    driver.execute_script(js)
    sleep(1)

    """
    第二项

    """
    t2_1_sum = 0
    t2_2_sum = 0
    t2_3_sum = 0
    t2_4_sum = 0
    t2_5_sum = 0

    t2_1_list1 = []
    t2_2_list1 = []
    t2_3_list1 = []
    t2_4_list1 = []
    t2_5_list1 = []

    t2_1_d_list = []
    t2_2_d_list = []
    t2_3_d_list = []
    t2_4_d_list = []
    t2_5_d_list = []

    "第二项第一小节"
    Select(driver.find_element_by_name("lb")).select_by_value("1")
    sleep(1)
    for i in range(3):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t2_1_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t2_1_list1.append("0")
        elif ziping_nub == 1:
            t2_1_list1.append("1")
        elif ziping_nub == 2:
            t2_1_list1.append("2")
        elif ziping_nub == 3:
            t2_1_list1.append("3")
        elif ziping_nub == 4:
            t2_1_list1.append("4")
        elif ziping_nub == 5:
            t2_1_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("0-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")
    for j in t2_1_list1:
        t2_1_sum += int(j)

    pingjunfen = float(t2_1_sum) / float(15)
    result_xishu2_1 = pingjunfen * 0.1927

    print("2.1各项分数为：", t2_1_list1)
    print("2.1机构自评显示分数：", t2_1_d_list)
    print("2.1各项分数总和：", t2_1_sum)

    "第二项第二小节"
    for i in range(3):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t2_2_d_list.append(ziping_nub)

        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t2_2_list1.append("0")
        elif ziping_nub == 1:
            t2_2_list1.append("1")
        elif ziping_nub == 2:
            t2_2_list1.append("2")
        elif ziping_nub == 3:
            t2_2_list1.append("3")
        elif ziping_nub == 4:
            t2_2_list1.append("4")
        elif ziping_nub == 5:
            t2_2_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("1-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t2_2_list1:
        t2_2_sum += int(j)

    pingjunfen = float(t2_2_sum) / float(15)
    result_xishu2_2 = pingjunfen * 0.205

    print("2.2各项分数为：", t2_2_list1)
    print("2.2机构自评显示分数：", t2_2_d_list)
    print("2.2各项分数总和", t2_2_sum)
    "第二项第三小节"

    for i in range(4):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t2_3_d_list.append(ziping_nub)

        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t2_3_list1.append("0")
        elif ziping_nub == 1:
            t2_3_list1.append("1")
        elif ziping_nub == 2:
            t2_3_list1.append("2")
        elif ziping_nub == 3:
            t2_3_list1.append("3")
        elif ziping_nub == 4:
            t2_3_list1.append("4")
        elif ziping_nub == 5:
            t2_3_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("2-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t2_3_list1:
        t2_3_sum += int(j)

    pingjunfen = float(t2_3_sum) / float(20)
    result_xishu2_3 = pingjunfen * 0.1955

    print("2.3各项分数为：", t2_3_list1)
    print("2.3机构自评显示分数：", t2_3_d_list)
    print("2.3各项分数总和", t2_3_sum)

    "第二项第四小节"
    for i in range(2):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t2_4_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t2_4_list1.append("0")
        elif ziping_nub == 1:
            t2_4_list1.append("1")
        elif ziping_nub == 2:
            t2_4_list1.append("2")
        elif ziping_nub == 3:
            t2_4_list1.append("3")
        elif ziping_nub == 4:
            t2_4_list1.append("4")
        elif ziping_nub == 5:
            t2_4_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("3-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t2_4_list1:
        t2_4_sum += int(j)

    pingjunfen = float(t2_4_sum) / float(10)
    result_xishu2_4 = pingjunfen * 0.164

    print("2.4各项分数为：", t2_4_list1)
    print("2.4机构自评显示分数：", t2_4_d_list)
    print("2.4各项分数总和", t2_4_sum)

    "第二项第五小节"
    for i in range(3):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[5]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t2_4_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[5]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t2_5_list1.append("0")
        elif ziping_nub == 1:
            t2_5_list1.append("1")
        elif ziping_nub == 2:
            t2_5_list1.append("2")
        elif ziping_nub == 3:
            t2_5_list1.append("3")
        elif ziping_nub == 4:
            t2_5_list1.append("4")
        elif ziping_nub == 5:
            t2_5_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[5]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("4-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t2_5_list1:
        t2_5_sum += int(j)

    pingjunfen = float(t2_5_sum) / float(15)
    result_xishu2_5 = pingjunfen * 0.2428

    print("2.5各项分数为：", t2_5_list1)
    print("2.5机构自评显示分数：", t2_5_d_list)
    print("2.5各项分数总和", t2_5_sum)

    t2_all_sum = int(
        round((result_xishu2_1 + result_xishu2_2 + result_xishu2_3 + result_xishu2_4 + result_xishu2_5) * 150, 0))
    print("第二项总得分：", t2_all_sum)
    driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[3]/div/button[1]").click()
    sleep(1)
    driver.switch_to.alert.accept()
    sleep(1)
    js = "window.scrollTo(0,0);"
    driver.execute_script(js)
    sleep(1)

    """
    第三项

    """
    t3_1_sum = 0
    t3_2_sum = 0
    t3_3_sum = 0
    t3_4_sum = 0
    t3_5_sum = 0
    t3_6_sum = 0
    t3_7_sum = 0
    t3_8_sum = 0
    t3_9_sum = 0
    t3_10_sum = 0
    t3_11_sum = 0
    t3_12_sum = 0
    t3_13_sum = 0
    t3_14_sum = 0

    t3_1_d_list = []
    t3_2_d_list = []
    t3_3_d_list = []
    t3_4_d_list = []
    t3_5_d_list = []
    t3_6_d_list = []
    t3_7_d_list = []
    t3_8_d_list = []
    t3_9_d_list = []
    t3_10_d_list = []
    t3_11_d_list = []
    t3_12_d_list = []
    t3_13_d_list = []
    t3_14_d_list = []

    t3_1_list1 = []
    t3_2_list1 = []
    t3_3_list1 = []
    t3_4_list1 = []
    t3_5_list1 = []
    t3_6_list1 = []
    t3_7_list1 = []
    t3_8_list1 = []
    t3_9_list1 = []
    t3_10_list1 = []
    t3_11_list1 = []
    t3_12_list1 = []
    t3_13_list1 = []
    t3_14_list1 = []
    "第三项第一小节"
    Select(driver.find_element_by_name("lb")).select_by_value("2")
    sleep(1)
    for i in range(3):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t3_1_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t3_1_list1.append("0")
        elif ziping_nub == 1:
            t3_1_list1.append("1")
        elif ziping_nub == 2:
            t3_1_list1.append("2")
        elif ziping_nub == 3:
            t3_1_list1.append("3")
        elif ziping_nub == 4:
            t3_1_list1.append("4")
        elif ziping_nub == 5:
            t3_1_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("0-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")
    for j in t3_1_list1:
        t3_1_sum += int(j)

    pingjunfen = float(t3_1_sum) / float(15)
    result_xishu3_1 = pingjunfen * 0.068

    print("3.1各项分数为：", t3_1_list1)
    print("3.1机构自评显示分数：", t3_1_d_list)
    print("3.1各项分数总和：", t3_1_sum)

    "第三项第二小节"
    for i in range(6):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t3_2_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t3_2_list1.append("0")
        elif ziping_nub == 1:
            t3_2_list1.append("1")
        elif ziping_nub == 2:
            t3_2_list1.append("2")
        elif ziping_nub == 3:
            t3_2_list1.append("3")
        elif ziping_nub == 4:
            t3_2_list1.append("4")
        elif ziping_nub == 5:
            t3_2_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("1-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t3_2_list1:
        t3_2_sum += int(j)

    pingjunfen = float(t3_2_sum) / float(30)
    result_xishu3_2 = pingjunfen * 0.0635

    print("3.2各项分数为：", t3_2_list1)
    print("3.2机构自评显示分数：", t3_2_d_list)
    print("3.2各项分数总和", t3_2_sum)

    "第三项第三小节"
    for i in range(4):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t3_3_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t3_3_list1.append("0")
        elif ziping_nub == 1:
            t3_3_list1.append("1")
        elif ziping_nub == 2:
            t3_3_list1.append("2")
        elif ziping_nub == 3:
            t3_3_list1.append("3")
        elif ziping_nub == 4:
            t3_3_list1.append("4")
        elif ziping_nub == 5:
            t3_3_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("2-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t3_3_list1:
        t3_3_sum += int(j)

    pingjunfen = float(t3_3_sum) / float(20)
    result_xishu3_3 = pingjunfen * 0.044

    print("3.3各项分数为：", t3_3_list1)
    print("3.3机构自评显示分数：", t3_3_d_list)
    print("3.3各项分数总和", t3_3_sum)

    "第三项第四小节"
    for i in range(4):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t3_4_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t3_4_list1.append("0")
        elif ziping_nub == 1:
            t3_4_list1.append("1")
        elif ziping_nub == 2:
            t3_4_list1.append("2")
        elif ziping_nub == 3:
            t3_4_list1.append("3")
        elif ziping_nub == 4:
            t3_4_list1.append("4")
        elif ziping_nub == 5:
            t3_4_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("3-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t3_4_list1:
        t3_4_sum += int(j)

    pingjunfen = float(t3_4_sum) / float(20)
    result_xishu3_4 = pingjunfen * 0.05

    print("3.4各项分数为：", t3_4_list1)
    print("3.4机构自评显示分数：", t3_4_d_list)
    print("3.4各项分数总和", t3_4_sum)

    "第三项第五小节"
    for i in range(5):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[5]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t3_5_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[5]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t3_5_list1.append("0")
        elif ziping_nub == 1:
            t3_5_list1.append("1")
        elif ziping_nub == 2:
            t3_5_list1.append("2")
        elif ziping_nub == 3:
            t3_5_list1.append("3")
        elif ziping_nub == 4:
            t3_5_list1.append("4")
        elif ziping_nub == 5:
            t3_5_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[5]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("4-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t3_5_list1:
        t3_5_sum += int(j)

    pingjunfen = float(t3_5_sum) / float(25)
    result_xishu3_5 = pingjunfen * 0.0608

    print("3.5各项分数为：", t3_5_list1)
    print("3.5机构自评显示分数：", t3_5_d_list)
    print("3.5各项分数总和", t3_5_sum)

    "第三项第六小节"
    for i in range(5):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[6]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t3_6_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[6]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t3_6_list1.append("0")
        elif ziping_nub == 1:
            t3_6_list1.append("1")
        elif ziping_nub == 2:
            t3_6_list1.append("2")
        elif ziping_nub == 3:
            t3_6_list1.append("3")
        elif ziping_nub == 4:
            t3_6_list1.append("4")
        elif ziping_nub == 5:
            t3_6_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[6]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("5-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t3_6_list1:
        t3_6_sum += int(j)

    pingjunfen = float(t3_6_sum) / float(25)
    result_xishu3_6 = pingjunfen * 0.0784

    print("3.6各项分数为：", t3_6_list1)
    print("3.6机构自评显示分数：", t3_6_d_list)
    print("3.6各项分数总和", t3_6_sum)

    "第三项第七小节"
    for i in range(5):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[7]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t3_7_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[7]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t3_7_list1.append("0")
        elif ziping_nub == 1:
            t3_7_list1.append("1")
        elif ziping_nub == 2:
            t3_7_list1.append("2")
        elif ziping_nub == 3:
            t3_7_list1.append("3")
        elif ziping_nub == 4:
            t3_7_list1.append("4")
        elif ziping_nub == 5:
            t3_7_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[7]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("6-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t3_7_list1:
        t3_7_sum += int(j)

    pingjunfen = float(t3_7_sum) / float(25)
    result_xishu3_7 = pingjunfen * 0.0519

    print("3.7各项分数为：", t3_7_list1)
    print("3.7机构自评显示分数：", t3_7_d_list)
    print("3.7各项分数总和", t3_7_sum)

    "第三项第八小节"
    for i in range(8):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[8]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t3_8_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[8]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t3_8_list1.append("0")
        elif ziping_nub == 1:
            t3_8_list1.append("1")
        elif ziping_nub == 2:
            t3_8_list1.append("2")
        elif ziping_nub == 3:
            t3_8_list1.append("3")
        elif ziping_nub == 4:
            t3_8_list1.append("4")
        elif ziping_nub == 5:
            t3_8_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[8]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("7-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t3_8_list1:
        t3_8_sum += int(j)

    pingjunfen = float(t3_8_sum) / float(40)
    result_xishu3_8 = pingjunfen * 0.0917

    print("3.8各项分数为：", t3_8_list1)
    print("3.8机构自评显示分数：", t3_8_d_list)
    print("3.8各项分数总和", t3_8_sum)

    "第三项第九小节"
    for i in range(7):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[9]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t3_9_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[9]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t3_9_list1.append("0")
        elif ziping_nub == 1:
            t3_9_list1.append("1")
        elif ziping_nub == 2:
            t3_9_list1.append("2")
        elif ziping_nub == 3:
            t3_9_list1.append("3")
        elif ziping_nub == 4:
            t3_9_list1.append("4")
        elif ziping_nub == 5:
            t3_9_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[9]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("8-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t3_9_list1:
        t3_9_sum += int(j)

    pingjunfen = float(t3_9_sum) / float(35)
    result_xishu3_9 = pingjunfen * 0.0781

    print("3.9各项分数为：", t3_9_list1)
    print("3.9机构自评显示分数：", t3_9_d_list)
    print("3.9各项分数总和", t3_9_sum)

    "第三项第十小节"
    for i in range(6):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[10]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t3_10_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[10]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t3_10_list1.append("0")
        elif ziping_nub == 1:
            t3_10_list1.append("1")
        elif ziping_nub == 2:
            t3_10_list1.append("2")
        elif ziping_nub == 3:
            t3_10_list1.append("3")
        elif ziping_nub == 4:
            t3_10_list1.append("4")
        elif ziping_nub == 5:
            t3_10_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[10]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("9-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t3_10_list1:
        t3_10_sum += int(j)

    pingjunfen = float(t3_10_sum) / float(30)
    result_xishu3_10 = pingjunfen * 0.1028

    print("3.10各项分数为：", t3_10_list1)
    print("3.10机构自评显示分数：", t3_10_d_list)
    print("3.10各项分数总和", t3_10_sum)

    "第三项第十一小节"
    for i in range(7):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[11]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t3_11_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[11]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t3_11_list1.append("0")
        elif ziping_nub == 1:
            t3_11_list1.append("1")
        elif ziping_nub == 2:
            t3_11_list1.append("2")
        elif ziping_nub == 3:
            t3_11_list1.append("3")
        elif ziping_nub == 4:
            t3_11_list1.append("4")
        elif ziping_nub == 5:
            t3_11_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[11]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("10-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t3_11_list1:
        t3_11_sum += int(j)

    pingjunfen = float(t3_11_sum) / float(35)
    result_xishu3_11 = pingjunfen * 0.1225

    print("3.11各项分数为：", t3_11_list1)
    print("3.11机构自评显示分数：", t3_11_d_list)
    print("3.11各项分数总和", t3_11_sum)

    "第三项第十二小节"
    for i in range(10):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[12]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t3_12_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[12]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t3_12_list1.append("0")
        elif ziping_nub == 1:
            t3_12_list1.append("1")
        elif ziping_nub == 2:
            t3_12_list1.append("2")
        elif ziping_nub == 3:
            t3_12_list1.append("3")
        elif ziping_nub == 4:
            t3_12_list1.append("4")
        elif ziping_nub == 5:
            t3_12_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[12]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("11-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t3_12_list1:
        t3_12_sum += int(j)

    pingjunfen = float(t3_12_sum) / float(50)
    result_xishu3_12 = pingjunfen * 0.102

    print("3.12各项分数为：", t3_12_list1)
    print("3.12机构自评显示分数：", t3_12_d_list)
    print("3.12各项分数总和", t3_12_sum)

    "第三项第十三小节"
    for i in range(4):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[13]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t3_13_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[13]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t3_13_list1.append("0")
        elif ziping_nub == 1:
            t3_13_list1.append("1")
        elif ziping_nub == 2:
            t3_13_list1.append("2")
        elif ziping_nub == 3:
            t3_13_list1.append("3")
        elif ziping_nub == 4:
            t3_13_list1.append("4")
        elif ziping_nub == 5:
            t3_13_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[13]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("12-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t3_13_list1:
        t3_13_sum += int(j)

    pingjunfen = float(t3_13_sum) / float(20)
    result_xishu3_13 = pingjunfen * 0.0863

    print("3.13各项分数为：", t3_13_list1)
    print("3.13机构自评显示分数：", t3_13_d_list)
    print("3.13各项分数总和", t3_13_sum)
    t3_all_sum = int(round((
                                   result_xishu3_1 + result_xishu3_2 + result_xishu3_3 + result_xishu3_4 + result_xishu3_5 + result_xishu3_6 + result_xishu3_7 + result_xishu3_8 + result_xishu3_9 + result_xishu3_10 + result_xishu3_11 + result_xishu3_12 + result_xishu3_13) * 300,
                           0))
    print("第三项总得分：", t3_all_sum)
    driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[3]/div/button[1]").click()
    sleep(2)
    driver.switch_to.alert.accept()
    sleep(1)
    js = "window.scrollTo(0,0);"
    driver.execute_script(js)
    sleep(1)
    """
    第四项

    """
    t4_1_sum = 0
    t4_2_sum = 0
    t4_3_sum = 0
    t4_4_sum = 0

    t4_1_d_list = []
    t4_2_d_list = []
    t4_3_d_list = []
    t4_4_d_list = []

    t4_1_list1 = []
    t4_2_list1 = []
    t4_3_list1 = []
    t4_4_list1 = []

    Select(driver.find_element_by_name("lb")).select_by_value("3")
    sleep(1)
    for i in range(5):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t4_1_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t4_1_list1.append("0")
        elif ziping_nub == 1:
            t4_1_list1.append("1")
        elif ziping_nub == 2:
            t4_1_list1.append("2")
        elif ziping_nub == 3:
            t4_1_list1.append("3")
        elif ziping_nub == 4:
            t4_1_list1.append("4")
        elif ziping_nub == 5:
            t4_1_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("0-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")
    for j in t4_1_list1:
        t4_1_sum += int(j)

    pingjunfen = float(t4_1_sum) / float(25)
    result_xishu4_1 = pingjunfen * 0.3414

    print("4.1各项分数为：", t4_1_list1)
    print("4.1机构自评显示分数：", t4_1_d_list)
    print("4.1各项分数总和：", t4_1_sum)

    "第四项第二小节"
    sleep(1)
    for i in range(8):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t4_2_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t4_2_list1.append("0")
        elif ziping_nub == 1:
            t4_2_list1.append("1")
        elif ziping_nub == 2:
            t4_2_list1.append("2")
        elif ziping_nub == 3:
            t4_2_list1.append("3")
        elif ziping_nub == 4:
            t4_2_list1.append("4")
        elif ziping_nub == 5:
            t4_2_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("1-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t4_2_list1:
        t4_2_sum += int(j)

    pingjunfen = float(t4_2_sum) / float(40)
    result_xishu4_2 = pingjunfen * 0.1938

    print("4.2各项分数为：", t4_2_list1)
    print("4.2机构自评显示分数：", t4_2_d_list)
    print("4.2各项分数总和", t4_2_sum)

    "第四项第三小节"
    for i in range(3):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t4_3_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t4_3_list1.append("0")
        elif ziping_nub == 1:
            t4_3_list1.append("1")
        elif ziping_nub == 2:
            t4_3_list1.append("2")
        elif ziping_nub == 3:
            t4_3_list1.append("3")
        elif ziping_nub == 4:
            t4_3_list1.append("4")
        elif ziping_nub == 5:
            t4_3_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("2-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t4_3_list1:
        t4_3_sum += int(j)

    pingjunfen = float(t4_3_sum) / float(15)
    result_xishu4_3 = pingjunfen * 0.139

    print("4.3各项分数为：", t4_3_list1)
    print("4.3机构自评显示分数：", t4_3_d_list)
    print("4.3各项分数总和", t4_3_sum)

    "第四项第四小节"
    for i in range(5):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t4_4_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t4_4_list1.append("0")
        elif ziping_nub == 1:
            t4_4_list1.append("1")
        elif ziping_nub == 2:
            t4_4_list1.append("2")
        elif ziping_nub == 3:
            t4_4_list1.append("3")
        elif ziping_nub == 4:
            t4_4_list1.append("4")
        elif ziping_nub == 5:
            t4_4_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("3-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t4_4_list1:
        t4_4_sum += int(j)

    pingjunfen = float(t4_4_sum) / float(25)
    result_xishu4_4 = pingjunfen * 0.3258

    print("4.4各项分数为：", t4_4_list1)
    print("4.4机构自评显示分数：", t4_4_d_list)
    print("4.4各项分数总和", t4_4_sum)
    t4_all_sum = int(round((result_xishu4_1 + result_xishu4_2 + result_xishu4_3 + result_xishu4_4) * 100, 0))
    print("第四项总得分：", t4_all_sum)
    driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[3]/div/button[1]").click()
    sleep(1)
    driver.switch_to.alert.accept()
    sleep(1)
    js = "window.scrollTo(0,0);"
    driver.execute_script(js)
    sleep(1)

    """
    第五项
    """
    t5_1_sum = 0
    t5_2_sum = 0
    t5_3_sum = 0
    t5_4_sum = 0

    t5_1_d_list = []
    t5_2_d_list = []
    t5_3_d_list = []
    t5_4_d_list = []

    t5_1_list1 = []
    t5_2_list1 = []
    t5_3_list1 = []
    t5_4_list1 = []
    Select(driver.find_element_by_name("lb")).select_by_value("4")
    sleep(1)
    "第五项第一小节"
    for i in range(9):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t5_1_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t5_1_list1.append("0")
        elif ziping_nub == 1:
            t5_1_list1.append("1")
        elif ziping_nub == 2:
            t5_1_list1.append("2")
        elif ziping_nub == 3:
            t5_1_list1.append("3")
        elif ziping_nub == 4:
            t5_1_list1.append("4")
        elif ziping_nub == 5:
            t5_1_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("0-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")
    for j in t5_1_list1:
        t5_1_sum += int(j)

    pingjunfen = float(t5_1_sum) / float(45)
    result_xishu5_1 = pingjunfen * 0.2234

    print("5.1各项分数为：", t5_1_list1)
    print("5.1机构自评显示分数：", t5_1_d_list)
    print("5.1各项分数总和：", t5_1_sum)

    "第五项第二小节"
    for i in range(3):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t5_2_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t5_2_list1.append("0")
        elif ziping_nub == 1:
            t5_2_list1.append("1")
        elif ziping_nub == 2:
            t5_2_list1.append("2")
        elif ziping_nub == 3:
            t5_2_list1.append("3")
        elif ziping_nub == 4:
            t5_2_list1.append("4")
        elif ziping_nub == 5:
            t5_2_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("1-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t5_2_list1:
        t5_2_sum += int(j)

    pingjunfen = float(t5_2_sum) / float(15)
    result_xishu5_2 = pingjunfen * 0.2594

    print("5.2各项分数为：", t5_2_list1)
    print("5.2机构自评显示分数：", t5_2_d_list)
    print("5.2各项分数总和", t5_2_sum)

    "第五项第三小节"
    for i in range(4):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t5_3_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t5_3_list1.append("0")
        elif ziping_nub == 1:
            t5_3_list1.append("1")
        elif ziping_nub == 2:
            t5_3_list1.append("2")
        elif ziping_nub == 3:
            t5_3_list1.append("3")
        elif ziping_nub == 4:
            t5_3_list1.append("4")
        elif ziping_nub == 5:
            t5_3_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("2-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t5_3_list1:
        t5_3_sum += int(j)
    pingjunfen = float(t5_3_sum) / float(20)
    result_xishu5_3 = pingjunfen * 0.2494

    print("5.3各项分数为：", t5_3_list1)
    print("5.3机构自评显示分数：", t5_3_d_list)
    print("5.3各项分数总和", t5_3_sum)

    "第五项第四小节"
    for i in range(3):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t5_4_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t5_4_list1.append("0")
        elif ziping_nub == 1:
            t5_4_list1.append("1")
        elif ziping_nub == 2:
            t5_4_list1.append("2")
        elif ziping_nub == 3:
            t5_4_list1.append("3")
        elif ziping_nub == 4:
            t5_4_list1.append("4")
        elif ziping_nub == 5:
            t5_4_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("3-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t5_4_list1:
        t5_4_sum += int(j)

    pingjunfen = float(t5_4_sum) / float(15)
    result_xishu5_4 = pingjunfen * 0.2678

    print("5.4各项分数为：", t5_4_list1)
    print("5.4机构自评显示分数：", t5_4_d_list)
    print("5.4各项分数总和", t5_4_sum)
    t5_all_sum = int(round((result_xishu5_1 + result_xishu5_2 + result_xishu5_3 + result_xishu5_4) * 150, 0))
    print("第三项总得分：", t5_all_sum)
    driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[3]/div/button[1]").click()
    sleep(1)
    driver.switch_to.alert.accept()
    sleep(1)
    js = "window.scrollTo(0,0);"
    driver.execute_script(js)
    sleep(1)

    """
    第六项
    """
    t6_1_sum = 0
    t6_2_sum = 0
    t6_3_sum = 0

    t6_1_d_list = []
    t6_2_d_list = []
    t6_3_d_list = []

    t6_1_list1 = []
    t6_2_list1 = []
    t6_3_list1 = []
    "第六项第一小节"
    Select(driver.find_element_by_name("lb")).select_by_value("5")
    sleep(1)
    for i in range(2):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t6_1_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t6_1_list1.append("0")
        elif ziping_nub == 1:
            t6_1_list1.append("1")
        elif ziping_nub == 2:
            t6_1_list1.append("2")
        elif ziping_nub == 3:
            t6_1_list1.append("3")
        elif ziping_nub == 4:
            t6_1_list1.append("4")
        elif ziping_nub == 5:
            t6_1_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("0-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")
    for j in t6_1_list1:
        t6_1_sum += int(j)

    pingjunfen = float(t6_1_sum) / float(10)
    result_xishu6_1 = pingjunfen * 0.378

    print("6.1各项分数为：", t6_1_list1)
    print("6.1机构自评显示分数：", t6_1_d_list)
    print("6.1各项分数总和：", t6_1_sum)

    "第六项第二小节"
    for i in range(2):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t6_2_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t6_2_list1.append("0")
        elif ziping_nub == 1:
            t6_2_list1.append("1")
        elif ziping_nub == 2:
            t6_2_list1.append("2")
        elif ziping_nub == 3:
            t6_2_list1.append("3")
        elif ziping_nub == 4:
            t6_2_list1.append("4")
        elif ziping_nub == 5:
            t6_2_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("1-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t6_2_list1:
        t6_2_sum += int(j)

    pingjunfen = float(t6_2_sum) / float(10)
    result_xishu6_2 = pingjunfen * 0.262

    print("6.2各项分数为：", t6_2_list1)
    print("6.2机构自评显示分数：", t6_2_d_list)
    print("6.2各项分数总和", t6_2_sum)

    "第三项第三小节"
    for i in range(3):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t6_3_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t6_3_list1.append("0")
        elif ziping_nub == 1:
            t6_3_list1.append("1")
        elif ziping_nub == 2:
            t6_3_list1.append("2")
        elif ziping_nub == 3:
            t6_3_list1.append("3")
        elif ziping_nub == 4:
            t6_3_list1.append("4")
        elif ziping_nub == 5:
            t6_3_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("2-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t6_3_list1:
        t6_3_sum += int(j)

    pingjunfen = float(t6_3_sum) / float(15)
    result_xishu6_3 = pingjunfen * 0.3599

    print("6.3各项分数为：", t6_3_list1)
    print("6.3机构自评显示分数：", t6_3_d_list)
    print("6.3各项分数总和", t6_3_sum)
    t6_all_sum = int(round((result_xishu6_1 + result_xishu6_2 + result_xishu6_3) * 150, 0))
    print("三项总得分：", t6_all_sum)
    driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[3]/div/button[1]").click()
    sleep(1)
    driver.switch_to.alert.accept()
    sleep(1)
    js = "window.scrollTo(0,0);"
    driver.execute_script(js)
    sleep(1)

    """
    第七项
    """
    t7_1_sum = 0
    t7_2_sum = 0
    t7_3_sum = 0
    t7_4_sum = 0
    t7_5_sum = 0
    t7_6_sum = 0

    t7_1_d_list = []
    t7_2_d_list = []
    t7_3_d_list = []
    t7_4_d_list = []
    t7_5_d_list = []
    t7_6_d_list = []

    t7_1_list1 = []
    t7_2_list1 = []
    t7_3_list1 = []
    t7_4_list1 = []
    t7_5_list1 = []
    t7_6_list1 = []

    "第七项第一小节"
    Select(driver.find_element_by_name("lb")).select_by_value("6")
    sleep(1)
    for i in range(2):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t7_1_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t7_1_list1.append("0")
        elif ziping_nub == 1:
            t7_1_list1.append("1")
        elif ziping_nub == 2:
            t7_1_list1.append("2")
        elif ziping_nub == 3:
            t7_1_list1.append("3")
        elif ziping_nub == 4:
            t7_1_list1.append("4")
        elif ziping_nub == 5:
            t7_1_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("0-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")
    for j in t7_1_list1:
        t7_1_sum += int(j)

    pingjunfen = float(t7_1_sum) / float(10)
    result_xishu7_1 = pingjunfen * 0.145

    print("7.1各项分数为：", t7_1_list1)
    print("7.1机构自评显示分数：", t7_1_d_list)
    print("7.1各项分数总和：", t7_1_sum)

    "第七项第二小节"
    for i in range(8):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t7_2_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t7_2_list1.append("0")
        elif ziping_nub == 1:
            t7_2_list1.append("1")
        elif ziping_nub == 2:
            t7_2_list1.append("2")
        elif ziping_nub == 3:
            t7_2_list1.append("3")
        elif ziping_nub == 4:
            t7_2_list1.append("4")
        elif ziping_nub == 5:
            t7_2_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("1-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t7_2_list1:
        t7_2_sum += int(j)

    pingjunfen = float(t7_2_sum) / float(40)
    result_xishu7_2 = pingjunfen * 0.1737

    print("7.2各项分数为：", t7_2_list1)
    print("7.2机构自评显示分数：", t7_2_d_list)
    print("7.2各项分数总和", t7_2_sum)

    "第七项第三小节"
    for i in range(7):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t7_3_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t7_3_list1.append("0")
        elif ziping_nub == 1:
            t7_3_list1.append("1")
        elif ziping_nub == 2:
            t7_3_list1.append("2")
        elif ziping_nub == 3:
            t7_3_list1.append("3")
        elif ziping_nub == 4:
            t7_3_list1.append("4")
        elif ziping_nub == 5:
            t7_3_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("2-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t7_3_list1:
        t7_3_sum += int(j)

    pingjunfen = float(t7_3_sum) / float(35)
    result_xishu7_3 = pingjunfen * 0.1769

    print("7.3各项分数为：", t7_3_list1)
    print("7.3机构自评显示分数：", t7_3_d_list)
    print("7.3各项分数总和", t7_3_sum)

    "第七项第四小节"
    for i in range(7):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t7_4_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t7_4_list1.append("0")
        elif ziping_nub == 1:
            t7_4_list1.append("1")
        elif ziping_nub == 2:
            t7_4_list1.append("2")
        elif ziping_nub == 3:
            t7_4_list1.append("3")
        elif ziping_nub == 4:
            t7_4_list1.append("4")
        elif ziping_nub == 5:
            t7_4_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("3-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t7_4_list1:
        t7_4_sum += int(j)

    pingjunfen = float(t7_4_sum) / float(35)
    result_xishu7_4 = pingjunfen * 0.1988

    print("7.4各项分数为：", t7_4_list1)
    print("7.4机构自评显示分数：", t7_4_d_list)
    print("7.4各项分数总和", t7_4_sum)

    "第七项第五小节"
    for i in range(6):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[5]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t7_5_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[5]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t7_5_list1.append("0")
        elif ziping_nub == 1:
            t7_5_list1.append("1")
        elif ziping_nub == 2:
            t7_5_list1.append("2")
        elif ziping_nub == 3:
            t7_5_list1.append("3")
        elif ziping_nub == 4:
            t7_5_list1.append("4")
        elif ziping_nub == 5:
            t7_5_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[5]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("4-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t7_5_list1:
        t7_5_sum += int(j)

    pingjunfen = float(t7_5_sum) / float(30)
    result_xishu7_5 = pingjunfen * 0.152

    print("7.5各项分数为：", t7_5_list1)
    print("7.5机构自评显示分数：", t7_5_d_list)
    print("7.5各项分数总和", t7_5_sum)

    "第七项第六小节"
    for i in range(3):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[6]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t7_6_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[6]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t7_6_list1.append("0")
        elif ziping_nub == 1:
            t7_6_list1.append("1")
        elif ziping_nub == 2:
            t7_6_list1.append("2")
        elif ziping_nub == 3:
            t7_6_list1.append("3")
        elif ziping_nub == 4:
            t7_6_list1.append("4")
        elif ziping_nub == 5:
            t7_6_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[6]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("5-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t7_6_list1:
        t7_6_sum += int(j)

    pingjunfen = float(t7_6_sum) / float(15)
    result_xishu7_6 = pingjunfen * 0.1536

    print("7.6各项分数为：", t7_6_list1)
    print("7.6机构自评显示分数：", t7_6_d_list)
    print("7.6各项分数总和", t7_6_sum)
    t7_all_sum = int(round(
        (
                    result_xishu7_1 + result_xishu7_2 + result_xishu7_3 + result_xishu7_4 + result_xishu7_5 + result_xishu7_6) * 150,
        0))
    print("三项总得分：", t7_all_sum)
    driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[3]/div/button[1]").click()
    sleep(1)
    driver.switch_to.alert.accept()
    sleep(1)
    js = "window.scrollTo(0,0);"
    driver.execute_script(js)
    sleep(1)

    """
    第八项
    """
    t8_1_sum = 0
    t8_2_sum = 0
    t8_3_sum = 0
    t8_4_sum = 0

    t8_1_d_list = []
    t8_2_d_list = []
    t8_3_d_list = []
    t8_4_d_list = []

    t8_1_list1 = []
    t8_2_list1 = []
    t8_3_list1 = []
    t8_4_list1 = []

    "第八项第一小节"
    Select(driver.find_element_by_name("lb")).select_by_value("7")
    sleep(1)
    for i in range(9):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t8_1_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t8_1_list1.append("0")
        elif ziping_nub == 1:
            t8_1_list1.append("1")
        elif ziping_nub == 2:
            t8_1_list1.append("2")
        elif ziping_nub == 3:
            t8_1_list1.append("3")
        elif ziping_nub == 4:
            t8_1_list1.append("4")
        elif ziping_nub == 5:
            t8_1_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("0-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")
    for j in t8_1_list1:
        t8_1_sum += int(j)

    pingjunfen = float(t8_1_sum) / float(45)
    result_xishu8_1 = pingjunfen * 0.2214

    print("8.1各项分数为：", t8_1_list1)
    print("8.1机构自评显示分数：", t8_1_d_list)
    print("8.1各项分数总和：", t8_1_sum)

    "第八项第二小节"
    for i in range(6):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t8_2_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t8_2_list1.append("0")
        elif ziping_nub == 1:
            t8_2_list1.append("1")
        elif ziping_nub == 2:
            t8_2_list1.append("2")
        elif ziping_nub == 3:
            t8_2_list1.append("3")
        elif ziping_nub == 4:
            t8_2_list1.append("4")
        elif ziping_nub == 5:
            t8_2_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("1-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t8_2_list1:
        t8_2_sum += int(j)

    pingjunfen = float(t8_2_sum) / float(30)
    result_xishu8_2 = pingjunfen * 0.3021

    print("8.2各项分数为：", t8_2_list1)
    print("8.2机构自评显示分数：", t8_2_d_list)
    print("8.2各项分数总和", t8_2_sum)

    "第八项第三小节"
    for i in range(8):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t8_3_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t8_3_list1.append("0")
        elif ziping_nub == 1:
            t8_3_list1.append("1")
        elif ziping_nub == 2:
            t8_3_list1.append("2")
        elif ziping_nub == 3:
            t8_3_list1.append("3")
        elif ziping_nub == 4:
            t8_3_list1.append("4")
        elif ziping_nub == 5:
            t8_3_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("2-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t8_3_list1:
        t8_3_sum += int(j)

    pingjunfen = float(t8_3_sum) / float(40)
    result_xishu8_3 = pingjunfen * 0.1795

    print("8.3各项分数为：", t8_3_list1)
    print("8.3机构自评显示分数：", t8_3_d_list)
    print("8.3各项分数总和", t8_3_sum)

    "第八项第四小节"
    for i in range(9):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t8_4_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t8_4_list1.append("0")
        elif ziping_nub == 1:
            t8_4_list1.append("1")
        elif ziping_nub == 2:
            t8_4_list1.append("2")
        elif ziping_nub == 3:
            t8_4_list1.append("3")
        elif ziping_nub == 4:
            t8_4_list1.append("4")
        elif ziping_nub == 5:
            t8_4_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("3-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t8_4_list1:
        t8_4_sum += int(j)

    pingjunfen = float(t8_4_sum) / float(45)
    result_xishu8_4 = pingjunfen * 0.2969

    print("8.4各项分数为：", t8_4_list1)
    print("8.4机构自评显示分数：", t8_4_d_list)
    print("8.4各项分数总和", t8_4_sum)
    t8_all_sum = int(round((result_xishu8_1 + result_xishu8_2 + result_xishu8_3 + result_xishu8_4) * 120, 0))
    print("第三项总得分：", t8_all_sum)
    driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[3]/div/button[1]").click()
    sleep(1)
    driver.switch_to.alert.accept()
    sleep(1)
    js = "window.scrollTo(0,0);"
    driver.execute_script(js)
    sleep(1)

    t9_1_sum = 0
    t9_2_sum = 0
    t9_3_sum = 0
    t9_4_sum = 0

    t9_1_d_list = []
    t9_2_d_list = []
    t9_3_d_list = []
    t9_4_d_list = []

    t9_1_list1 = []
    t9_2_list1 = []
    t9_3_list1 = []
    t9_4_list1 = []
    "第九项第一小节"
    Select(driver.find_element_by_name("lb")).select_by_value("8")
    sleep(1)
    for i in range(5):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t9_1_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t9_1_list1.append("0")
        elif ziping_nub == 1:
            t9_1_list1.append("1")
        elif ziping_nub == 2:
            t9_1_list1.append("2")
        elif ziping_nub == 3:
            t9_1_list1.append("3")
        elif ziping_nub == 4:
            t9_1_list1.append("4")
        elif ziping_nub == 5:
            t9_1_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("0-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")
    for j in t9_1_list1:
        t9_1_sum += int(j)

    pingjunfen = float(t9_1_sum) / float(25)
    result_xishu9_1 = pingjunfen * 0.2631

    print("9.1各项分数为：", t9_1_list1)
    print("9.1机构自评显示分数：", t9_1_d_list)
    print("9.1各项分数总和：", t9_1_sum)

    "第九项第二小节"
    for i in range(2):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t9_2_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t9_2_list1.append("0")
        elif ziping_nub == 1:
            t9_2_list1.append("1")
        elif ziping_nub == 2:
            t9_2_list1.append("2")
        elif ziping_nub == 3:
            t9_2_list1.append("3")
        elif ziping_nub == 4:
            t9_2_list1.append("4")
        elif ziping_nub == 5:
            t9_2_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("1-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t9_2_list1:
        t9_2_sum += int(j)

    pingjunfen = float(t9_2_sum) / float(10)
    result_xishu9_2 = pingjunfen * 0.1843

    print("9.2各项分数为：", t9_2_list1)
    print("9.2机构自评显示分数：", t9_2_d_list)
    print("9.2各项分数总和", t9_2_sum)

    "第九项第三小节"
    for i in range(6):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t9_3_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t9_3_list1.append("0")
        elif ziping_nub == 1:
            t9_3_list1.append("1")
        elif ziping_nub == 2:
            t9_3_list1.append("2")
        elif ziping_nub == 3:
            t9_3_list1.append("3")
        elif ziping_nub == 4:
            t9_3_list1.append("4")
        elif ziping_nub == 5:
            t9_3_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("2-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t9_3_list1:
        t9_3_sum += int(j)

    pingjunfen = float(t9_3_sum) / float(30)
    result_xishu9_3 = pingjunfen * 0.2065

    print("9.3各项分数为：", t9_3_list1)
    print("9.3机构自评显示分数：", t9_3_d_list)
    print("9.3各项分数总和", t9_3_sum)

    "第九项第四小节"
    for i in range(2):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t9_4_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t9_4_list1.append("0")
        elif ziping_nub == 1:
            t9_4_list1.append("1")
        elif ziping_nub == 2:
            t9_4_list1.append("2")
        elif ziping_nub == 3:
            t9_4_list1.append("3")
        elif ziping_nub == 4:
            t9_4_list1.append("4")
        elif ziping_nub == 5:
            t9_4_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("3-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t9_4_list1:
        t9_4_sum += int(j)

    pingjunfen = float(t9_4_sum) / float(10)
    result_xishu9_4 = pingjunfen * 0.346

    print("9.4各项分数为：", t9_4_list1)
    print("9.4机构自评显示分数：", t9_4_d_list)
    print("9.4各项分数总和", t9_4_sum)
    t9_all_sum = int(round((result_xishu9_1 + result_xishu9_2 + result_xishu9_3 + result_xishu9_4) * 120, 0))
    print("三项总得分：", t9_all_sum)
    driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[3]/div/button[1]").click()
    sleep(1)
    driver.switch_to.alert.accept()
    sleep(1)
    js = "window.scrollTo(0,0);"
    driver.execute_script(js)
    sleep(1)

    t10_1_sum = 0
    t10_2_sum = 0
    t10_3_sum = 0
    t10_4_sum = 0
    t10_5_sum = 0

    t10_1_d_list = []
    t10_2_d_list = []
    t10_3_d_list = []
    t10_4_d_list = []
    t10_5_d_list = []

    t10_1_list1 = []
    t10_2_list1 = []
    t10_3_list1 = []
    t10_4_list1 = []
    t10_5_list1 = []
    "第十项第一小节"
    Select(driver.find_element_by_name("lb")).select_by_value("9")
    sleep(1)
    for i in range(7):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t10_1_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t10_1_list1.append("0")
        elif ziping_nub == 1:
            t10_1_list1.append("1")
        elif ziping_nub == 2:
            t10_1_list1.append("2")
        elif ziping_nub == 3:
            t10_1_list1.append("3")
        elif ziping_nub == 4:
            t10_1_list1.append("4")
        elif ziping_nub == 5:
            t10_1_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("0-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")
    for j in t10_1_list1:
        t10_1_sum += int(j)

    pingjunfen = float(t10_1_sum) / float(35)
    result_xishu10_1 = pingjunfen * 0.1957

    print("10.1各项分数为：", t10_1_list1)
    print("10.1机构自评显示分数：", t10_1_d_list)
    print("10.1各项分数总和：", t10_1_sum)

    "第十项第二小节"
    for i in range(1):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t10_2_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t10_2_list1.append("0")
        elif ziping_nub == 1:
            t10_2_list1.append("1")
        elif ziping_nub == 2:
            t10_2_list1.append("2")
        elif ziping_nub == 3:
            t10_2_list1.append("3")
        elif ziping_nub == 4:
            t10_2_list1.append("4")
        elif ziping_nub == 5:
            t10_2_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("1-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t10_2_list1:
        t10_2_sum += int(j)

    pingjunfen = float(t10_2_sum) / float(5)
    result_xishu10_2 = pingjunfen * 0.1999

    print("10.2各项分数为：", t10_2_list1)
    print("10.2机构自评显示分数：", t10_2_d_list)
    print("10.2各项分数总和", t10_2_sum)

    "第十项第三小节"
    for i in range(1):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t10_3_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t10_3_list1.append("0")
        elif ziping_nub == 1:
            t10_3_list1.append("1")
        elif ziping_nub == 2:
            t10_3_list1.append("2")
        elif ziping_nub == 3:
            t10_3_list1.append("3")
        elif ziping_nub == 4:
            t10_3_list1.append("4")
        elif ziping_nub == 5:
            t10_3_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("2-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t10_3_list1:
        t10_3_sum += int(j)

    pingjunfen = float(t10_3_sum) / float(5)
    result_xishu10_3 = pingjunfen * 0.1776

    print("10.3各项分数为：", t10_3_list1)
    print("10.3机构自评显示分数：", t10_3_d_list)
    print("10.3各项分数总和", t10_3_sum)

    "第十项第四小节"
    for i in range(1):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t10_4_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t10_4_list1.append("0")
        elif ziping_nub == 1:
            t10_4_list1.append("1")
        elif ziping_nub == 2:
            t10_4_list1.append("2")
        elif ziping_nub == 3:
            t10_4_list1.append("3")
        elif ziping_nub == 4:
            t10_4_list1.append("4")
        elif ziping_nub == 5:
            t10_4_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("3-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t10_4_list1:
        t10_4_sum += int(j)

    pingjunfen = float(t10_4_sum) / float(5)
    result_xishu10_4 = pingjunfen * 0.1736

    print("10.4各项分数为：", t10_4_list1)
    print("10.4机构自评显示分数：", t10_4_d_list)
    print("10.4各项分数总和", t10_4_sum)

    "第十项第五小节"
    for i in range(8):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[5]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t10_5_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[5]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t10_5_list1.append("0")
        elif ziping_nub == 1:
            t10_5_list1.append("1")
        elif ziping_nub == 2:
            t10_5_list1.append("2")
        elif ziping_nub == 3:
            t10_5_list1.append("3")
        elif ziping_nub == 4:
            t10_5_list1.append("4")
        elif ziping_nub == 5:
            t10_5_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[5]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("4-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t10_5_list1:
        t10_5_sum += int(j)
    pingjunfen = float(t10_5_sum) / float(40)
    result_xishu10_5 = pingjunfen * 0.2531

    print("10.5各项分数为：", t10_5_list1)
    print("10.5机构自评显示分数：", t10_5_d_list)
    print("10.5各项分数总和", t10_5_sum)

    t10_all_sum = int(
        round((result_xishu10_1 + result_xishu10_2 + result_xishu10_3 + result_xishu10_4 + result_xishu10_5) * 120, 0))
    print("三项总得分：", t10_all_sum)
    driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[3]/div/button[1]").click()
    sleep(1)
    driver.switch_to.alert.accept()
    sleep(1)
    js = "window.scrollTo(0,0);"
    driver.execute_script(js)
    sleep(1)

    t11_1_sum = 0
    t11_2_sum = 0
    t11_3_sum = 0
    t11_4_sum = 0
    t11_5_sum = 0

    t11_1_d_list = []
    t11_2_d_list = []
    t11_3_d_list = []
    t11_4_d_list = []
    t11_5_d_list = []

    t11_1_list1 = []
    t11_2_list1 = []
    t11_3_list1 = []
    t11_4_list1 = []
    t11_5_list1 = []

    "第十一项第一小节"
    Select(driver.find_element_by_name("lb")).select_by_value("10")
    sleep(1)
    for i in range(3):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t11_1_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t11_1_list1.append("0")
        elif ziping_nub == 1:
            t11_1_list1.append("1")
        elif ziping_nub == 2:
            t11_1_list1.append("2")
        elif ziping_nub == 3:
            t11_1_list1.append("3")
        elif ziping_nub == 4:
            t11_1_list1.append("4")
        elif ziping_nub == 5:
            t11_1_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("0-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")
    for j in t11_1_list1:
        t11_1_sum += int(j)

    pingjunfen = float(t11_1_sum) / float(15)
    result_xishu11_1 = pingjunfen * 0.2928

    print("11.1各项分数为：", t11_1_list1)
    print("11.1机构自评显示分数：", t11_1_d_list)
    print("11.1各项分数总和：", t11_1_sum)

    "第十一项第二小节"
    for i in range(5):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t11_2_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t11_2_list1.append("0")
        elif ziping_nub == 1:
            t11_2_list1.append("1")
        elif ziping_nub == 2:
            t11_2_list1.append("2")
        elif ziping_nub == 3:
            t11_2_list1.append("3")
        elif ziping_nub == 4:
            t11_2_list1.append("4")
        elif ziping_nub == 5:
            t11_2_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("1-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t11_2_list1:
        t11_2_sum += int(j)

    pingjunfen = float(t11_2_sum) / float(25)
    result_xishu11_2 = pingjunfen * 0.123

    print("11.2各项分数为：", t11_2_list1)
    print("11.2机构自评显示分数：", t11_2_d_list)
    print("11.2各项分数总和", t11_2_sum)

    "第十一项第三小节"
    for i in range(6):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t11_3_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t11_3_list1.append("0")
        elif ziping_nub == 1:
            t11_3_list1.append("1")
        elif ziping_nub == 2:
            t11_3_list1.append("2")
        elif ziping_nub == 3:
            t11_3_list1.append("3")
        elif ziping_nub == 4:
            t11_3_list1.append("4")
        elif ziping_nub == 5:
            t11_3_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("2-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t11_3_list1:
        t11_3_sum += int(j)

    pingjunfen = float(t11_3_sum) / float(30)
    result_xishu11_3 = pingjunfen * 0.2363

    print("11.3各项分数为：", t11_3_list1)
    print("11.3机构自评显示分数：", t11_3_d_list)
    print("11.3各项分数总和", t11_3_sum)

    "第十一项第四小节"
    for i in range(4):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t11_4_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t11_4_list1.append("0")
        elif ziping_nub == 1:
            t11_4_list1.append("1")
        elif ziping_nub == 2:
            t11_4_list1.append("2")
        elif ziping_nub == 3:
            t11_4_list1.append("3")
        elif ziping_nub == 4:
            t11_4_list1.append("4")
        elif ziping_nub == 5:
            t11_4_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("3-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t11_4_list1:
        t11_4_sum += int(j)

    pingjunfen = float(t11_4_sum) / float(20)
    result_xishu11_4 = pingjunfen * 0.1834

    print("11.4各项分数为：", t11_4_list1)
    print("11.4机构自评显示分数：", t11_4_d_list)
    print("11.4各项分数总和", t11_4_sum)

    "第十一项第五小节"
    for i in range(2):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[5]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t11_5_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[5]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t11_5_list1.append("0")
        elif ziping_nub == 1:
            t11_5_list1.append("1")
        elif ziping_nub == 2:
            t11_5_list1.append("2")
        elif ziping_nub == 3:
            t11_5_list1.append("3")
        elif ziping_nub == 4:
            t11_5_list1.append("4")
        elif ziping_nub == 5:
            t11_5_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[5]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("4-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t11_5_list1:
        t11_5_sum += int(j)

    pingjunfen = float(t11_5_sum) / float(10)
    result_xishu11_5 = pingjunfen * 0.1646

    print("11.5各项分数为：", t11_5_list1)
    print("11.5机构自评显示分数：", t11_5_d_list)
    print("11.5各项分数总和", t11_5_sum)
    t11_all_sum = int(
        round((result_xishu11_1 + result_xishu11_2 + result_xishu11_3 + result_xishu11_4 + result_xishu11_5) * 120, 0))
    print("三项总得分：", t11_all_sum)
    driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[3]/div/button[1]").click()
    sleep(1)
    driver.switch_to.alert.accept()
    sleep(1)
    js = "window.scrollTo(0,0);"
    driver.execute_script(js)
    sleep(1)

    t12_1_sum = 0
    t12_2_sum = 0

    t12_1_d_list = []
    t12_2_d_list = []

    t12_1_list1 = []
    t12_2_list1 = []
    "第十二项第一小节"
    Select(driver.find_element_by_name("lb")).select_by_value("11")
    sleep(1)
    for i in range(7):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t12_1_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t12_1_list1.append("0")
        elif ziping_nub == 1:
            t12_1_list1.append("1")
        elif ziping_nub == 2:
            t12_1_list1.append("2")
        elif ziping_nub == 3:
            t12_1_list1.append("3")
        elif ziping_nub == 4:
            t12_1_list1.append("4")
        elif ziping_nub == 5:
            t12_1_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("0-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")
    for j in t12_1_list1:
        t12_1_sum += int(j)

    pingjunfen = float(t12_1_sum) / float(35)
    result_xishu12_1 = pingjunfen * 0.3619

    print("12.1各项分数为：", t12_1_list1)
    print("12.1机构自评显示分数：", t12_1_d_list)
    print("12.1各项分数总和：", t12_1_sum)

    "第十二项第二小节"
    for i in range(8):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t12_2_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t12_2_list1.append("0")
        elif ziping_nub == 1:
            t12_2_list1.append("1")
        elif ziping_nub == 2:
            t12_2_list1.append("2")
        elif ziping_nub == 3:
            t12_2_list1.append("3")
        elif ziping_nub == 4:
            t12_2_list1.append("4")
        elif ziping_nub == 5:
            t12_2_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("1-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t12_2_list1:
        t12_2_sum += int(j)

    pingjunfen = float(t12_2_sum) / float(40)
    result_xishu12_2 = pingjunfen * 0.6381

    print("12.2各项分数为：", t12_2_list1)
    print("12.2机构自评显示分数：", t12_2_d_list)
    print("12.2各项分数总和", t12_2_sum)
    t12_all_sum = int(round((result_xishu12_1 + result_xishu12_2) * 120, 0))
    print("三项总得分：", t12_all_sum)
    driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[3]/div/button[1]").click()
    sleep(1)
    driver.switch_to.alert.accept()
    sleep(1)
    js = "window.scrollTo(0,0);"
    driver.execute_script(js)
    sleep(1)

    t13_1_sum = 0
    t13_2_sum = 0
    t13_3_sum = 0
    t13_4_sum = 0

    t13_1_d_list = []
    t13_2_d_list = []
    t13_3_d_list = []
    t13_4_d_list = []

    t13_1_list1 = []
    t13_2_list1 = []
    t13_3_list1 = []
    t13_4_list1 = []

    "第十三项第一小节"
    Select(driver.find_element_by_name("lb")).select_by_value("12")
    sleep(1)
    for i in range(6):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t13_1_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t13_1_list1.append("0")
        elif ziping_nub == 1:
            t13_1_list1.append("1")
        elif ziping_nub == 2:
            t13_1_list1.append("2")
        elif ziping_nub == 3:
            t13_1_list1.append("3")
        elif ziping_nub == 4:
            t13_1_list1.append("4")
        elif ziping_nub == 5:
            t13_1_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("0-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")
    for j in t13_1_list1:
        t13_1_sum += int(j)

    pingjunfen = float(t13_1_sum) / float(30)
    result_xishu13_1 = pingjunfen * 0.2988

    print("13.1各项分数为：", t13_1_list1)
    print("13.1机构自评显示分数：", t13_1_d_list)
    print("13.1各项分数总和：", t13_1_sum)

    "第十三项第二小节"
    for i in range(3):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t13_2_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t13_2_list1.append("0")
        elif ziping_nub == 1:
            t13_2_list1.append("1")
        elif ziping_nub == 2:
            t13_2_list1.append("2")
        elif ziping_nub == 3:
            t13_2_list1.append("3")
        elif ziping_nub == 4:
            t13_2_list1.append("4")
        elif ziping_nub == 5:
            t13_2_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("1-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t13_2_list1:
        t13_2_sum += int(j)

    pingjunfen = float(t13_2_sum) / float(15)
    result_xishu13_2 = pingjunfen * 0.2009

    print("13.2各项分数为：", t13_2_list1)
    print("13.2机构自评显示分数：", t13_2_d_list)
    print("13.2各项分数总和", t13_2_sum)

    "第十三项第三小节"
    for i in range(4):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t13_3_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t13_3_list1.append("0")
        elif ziping_nub == 1:
            t13_3_list1.append("1")
        elif ziping_nub == 2:
            t13_3_list1.append("2")
        elif ziping_nub == 3:
            t13_3_list1.append("3")
        elif ziping_nub == 4:
            t13_3_list1.append("4")
        elif ziping_nub == 5:
            t13_3_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("2-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t13_3_list1:
        t13_3_sum += int(j)

    pingjunfen = float(t13_3_sum) / float(20)
    result_xishu13_3 = pingjunfen * 0.2202

    print("13.3各项分数为：", t13_3_list1)
    print("13.3机构自评显示分数：", t13_3_d_list)
    print("13.3各项分数总和", t13_3_sum)

    "第十三项第四小节"
    for i in range(2):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t13_4_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t13_4_list1.append("0")
        elif ziping_nub == 1:
            t13_4_list1.append("1")
        elif ziping_nub == 2:
            t13_4_list1.append("2")
        elif ziping_nub == 3:
            t13_4_list1.append("3")
        elif ziping_nub == 4:
            t13_4_list1.append("4")
        elif ziping_nub == 5:
            t13_4_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("3-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t13_4_list1:
        t13_4_sum += int(j)
    pingjunfen = float(t13_4_sum) / float(10)
    result_xishu13_4 = pingjunfen * 0.2802

    print("13.4各项分数为：", t13_4_list1)
    print("13.4机构自评显示分数：", t13_4_d_list)
    print("13.4各项分数总和", t13_4_sum)
    t13_all_sum = int(round((result_xishu13_1 + result_xishu13_2 + result_xishu13_3 + result_xishu13_4) * 150, 0))
    print("三项总得分：", t13_all_sum)
    driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[3]/div/button[1]").click()
    sleep(1)
    driver.switch_to.alert.accept()
    sleep(1)
    js = "window.scrollTo(0,0);"
    driver.execute_script(js)
    sleep(1)

    t14_1_sum = 0
    t14_2_sum = 0
    t14_3_sum = 0
    t14_4_sum = 0
    t14_5_sum = 0
    t14_6_sum = 0
    t14_7_sum = 0

    t14_1_d_list = []
    t14_2_d_list = []
    t14_3_d_list = []
    t14_4_d_list = []
    t14_5_d_list = []
    t14_6_d_list = []
    t14_7_d_list = []

    t14_1_list1 = []
    t14_2_list1 = []
    t14_3_list1 = []
    t14_4_list1 = []
    t14_5_list1 = []
    t14_6_list1 = []
    t14_7_list1 = []
    "第十四项第一小节"
    Select(driver.find_element_by_name("lb")).select_by_value("13")
    sleep(1)
    for i in range(3):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t14_1_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t14_1_list1.append("0")
        elif ziping_nub == 1:
            t14_1_list1.append("1")
        elif ziping_nub == 2:
            t14_1_list1.append("2")
        elif ziping_nub == 3:
            t14_1_list1.append("3")
        elif ziping_nub == 4:
            t14_1_list1.append("4")
        elif ziping_nub == 5:
            t14_1_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[1]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("0-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")
    for j in t14_1_list1:
        t14_1_sum += int(j)
    pingjunfen = float(t14_1_sum) / float(15)
    result_xishu14_1 = pingjunfen * 0.192

    print("14.1各项分数为：", t14_1_list1)
    print("14.1机构自评显示分数：", t14_1_d_list)
    print("14.1各项分数总和：", t14_1_sum)

    "第十四项第二小节"
    for i in range(2):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t14_2_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t14_2_list1.append("0")
        elif ziping_nub == 1:
            t14_2_list1.append("1")
        elif ziping_nub == 2:
            t14_2_list1.append("2")
        elif ziping_nub == 3:
            t14_2_list1.append("3")
        elif ziping_nub == 4:
            t14_2_list1.append("4")
        elif ziping_nub == 5:
            t14_2_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[2]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("1-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t14_2_list1:
        t14_2_sum += int(j)

    pingjunfen = float(t14_2_sum) / float(10)
    result_xishu14_2 = pingjunfen * 0.1876

    print("14.2各项分数为：", t14_2_list1)
    print("14.2机构自评显示分数：", t14_2_d_list)
    print("14.2各项分数总和", t14_2_sum)

    "第十四项第三小节"
    for i in range(2):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t14_3_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t14_3_list1.append("0")
        elif ziping_nub == 1:
            t14_3_list1.append("1")
        elif ziping_nub == 2:
            t14_3_list1.append("2")
        elif ziping_nub == 3:
            t14_3_list1.append("3")
        elif ziping_nub == 4:
            t14_3_list1.append("4")
        elif ziping_nub == 5:
            t14_3_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[3]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("2-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t14_3_list1:
        t14_3_sum += int(j)

    pingjunfen = float(t14_3_sum) / float(10)
    result_xishu14_3 = pingjunfen * 0.1547

    print("14.3各项分数为：", t14_3_list1)
    print("14.3机构自评显示分数：", t14_3_d_list)
    print("14.3各项分数总和", t14_3_sum)

    "第十四项第四小节"
    for i in range(5):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t14_4_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t14_4_list1.append("0")
        elif ziping_nub == 1:
            t14_4_list1.append("1")
        elif ziping_nub == 2:
            t14_4_list1.append("2")
        elif ziping_nub == 3:
            t14_4_list1.append("3")
        elif ziping_nub == 4:
            t14_4_list1.append("4")
        elif ziping_nub == 5:
            t14_4_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[4]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("3-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t14_4_list1:
        t14_4_sum += int(j)
    pingjunfen = float(t14_4_sum) / float(25)
    result_xishu14_4 = pingjunfen * 0.1425

    print("14.4各项分数为：", t14_4_list1)
    print("14.4机构自评显示分数：", t14_4_d_list)
    print("14.4各项分数总和", t14_4_sum)

    "第十四项第五小节"
    for i in range(1):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[5]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t14_5_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[5]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t14_5_list1.append("0")
        elif ziping_nub == 1:
            t14_5_list1.append("1")
        elif ziping_nub == 2:
            t14_5_list1.append("2")
        elif ziping_nub == 3:
            t14_5_list1.append("3")
        elif ziping_nub == 4:
            t14_5_list1.append("4")
        elif ziping_nub == 5:
            t14_5_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[5]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("4-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t14_5_list1:
        t14_5_sum += int(j)

    pingjunfen = float(t14_5_sum) / float(5)
    result_xishu14_5 = pingjunfen * 0.0969

    print("14.5各项分数为：", t14_5_list1)
    print("14.5机构自评显示分数：", t14_5_d_list)
    print("14.5各项分数总和", t14_5_sum)

    "第十四项第六小节"
    for i in range(1):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[6]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t14_6_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[6]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t14_6_list1.append("0")
        elif ziping_nub == 1:
            t14_6_list1.append("1")
        elif ziping_nub == 2:
            t14_6_list1.append("2")
        elif ziping_nub == 3:
            t14_6_list1.append("3")
        elif ziping_nub == 4:
            t14_6_list1.append("4")
        elif ziping_nub == 5:
            t14_6_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[6]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("5-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t14_6_list1:
        t14_6_sum += int(j)

    pingjunfen = float(t14_6_sum) / float(5)
    result_xishu14_6 = pingjunfen * 0.0942

    print("14.6各项分数为：", t14_6_list1)
    print("14.6机构自评显示分数：", t14_6_d_list)
    print("14.6各项分数总和", t14_6_sum)

    "第十四项第七小节"
    for i in range(4):
        fen_nub = driver.find_element_by_xpath(
            "/html/body/div/div/div/div/div/div[2]/div[7]/div[" + str(i + 1) + "]/div[2]/div[1]/div/p").text
        ziping_nub = int(fen_nub.split("分")[0])
        t14_7_d_list.append(ziping_nub)
        sleep(1)
        Select(driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[7]/div[" + str(
            i + 1) + "]/div[2]/div[2]/div/select")).select_by_value(str(ziping_nub + 1))
        if ziping_nub == 0:
            t14_7_list1.append("0")
        elif ziping_nub == 1:
            t14_7_list1.append("1")
        elif ziping_nub == 2:
            t14_7_list1.append("2")
        elif ziping_nub == 3:
            t14_7_list1.append("3")
        elif ziping_nub == 4:
            t14_7_list1.append("4")
        elif ziping_nub == 5:
            t14_7_list1.append("5")
        else:
            pass
        driver.implicitly_wait(20)
        driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[2]/div[7]/div[" + str(
            i + 1) + "]/div[2]/div[3]/div/textarea").send_keys("医美测试备注")
        driver.implicitly_wait(20)
        driver.find_element_by_id("6-" + str(i) + "").send_keys(file_path + "//image//1541153043-POYSkAhjKG (1).jpg")

    for j in t14_7_list1:
        t14_7_sum += int(j)

    pingjunfen = float(t14_7_sum) / float(20)
    result_xishu14_7 = pingjunfen * 0.1434

    print("14.7各项分数为：", t14_7_list1)
    print("14.7机构自评显示分数：", t14_7_d_list)
    print("14.7各项分数总和", t14_7_sum)
    t14_all_sum = int(round((
                                    result_xishu14_1 + result_xishu14_2 + result_xishu14_3 + result_xishu14_4 + result_xishu14_5 + result_xishu14_6 + result_xishu14_7) * 100,
                            0))
    print("三项总得分：", t14_all_sum)
    driver.find_element_by_xpath("/html/body/div/div/div/div/div/div[3]/div/button[1]").click()
    sleep(1)
    driver.switch_to.alert.accept()
    sleep(1)
    js = "window.scrollTo(0,0);"
    driver.execute_script(js)
    sleep(1)
    all_sum_d = t1_all_sum + t2_all_sum + t3_all_sum + t4_all_sum + t5_all_sum + t6_all_sum + t7_all_sum + t8_all_sum + t9_all_sum + t10_all_sum + t11_all_sum + t12_all_sum + t13_all_sum + t14_all_sum
    print("14项总合：", all_sum_d)

elif nubs == "6":
    print("")
    code_nub = int(input("请输入需要循环满意度条数："))
    print("")
    nub_id = str(input("请输入code_id:"))
    nub = 0
    for j in range(code_nub):
        sleep(1)
        mobile_nub = str(randint(15511111111, 19999999999))
        driver.implicitly_wait(20)
        driver.get("http://192.168.1.242:8034/m/evaluate/index?id="+nub_id+"")
        driver.implicitly_wait(20)
        driver.find_element_by_name("mobile").send_keys(mobile_nub)  # 手机号
        driver.implicitly_wait(20)
        driver.find_element_by_name("yzm").send_keys("1234567")
        js = "window.scrollTo(0,440);"
        driver.execute_script(js)
        sleep(1)
        driver.find_element_by_xpath("/html/body/div[4]/form/div/label/input").click()
        #driver.find_element_by_xpath("/html/body/div[4]/form/div/ul/li[5]/input").send_keys('2021-08-01')
        driver.find_element_by_xpath("/html/body/div[4]/form/input").click()
        sleep(1)
        for i in range(20):
            nubs = str(randint(1, 5))
            driver.find_element_by_xpath("/ html / body / div[4] / div[3] / ul / li[" + str(
                int(i) + 1) + "] / label[" + nubs + "] / span[1]").click()
        nub += 1
        print("提交第：%d 份问卷" % nub)
        driver.find_element_by_xpath("/html/body/div[4]/input").click()
